Commit 3e3dd03
committed
Use flake.inputs.nixpkgs.lib if available, before defaulting to NIX_PATH
If NIX_PATH is unset, nixos-shell would crash, even if flake inputs were available in the target nixosConfiguration, this commit fixes that by defaulting lib to the target flake's nixpkgs input1 parent 55de7d4 commit 3e3dd03
File tree
1 file changed
+2
-2
lines changed1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments