From 73dc049ca8fa1350000e547034b22a68b7ad3fee Mon Sep 17 00:00:00 2001 From: Rishi Kumar Date: Tue, 3 Sep 2024 21:12:32 +0530 Subject: [PATCH] docs: Using nixpkgs-unstable instead of devenv-nixpkgs --- docs/common-patterns.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/common-patterns.md b/docs/common-patterns.md index 0f59df90f..9b8e94ce4 100644 --- a/docs/common-patterns.md +++ b/docs/common-patterns.md @@ -1,3 +1,13 @@ +## Using `nixpkgs-unstable` instead of `devenv-nixpkgs` + +### In the file `devenv.yaml` edit the `nixpkgs` input to point to nixpkgs-unstable + +```yaml +inputs: + nixpkgs: + url: github:NixOS/nixpkgs/nixpkgs-unstable +``` + ## Nix patterns ### Add a directory to `$PATH`