We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55de7d4 + 3e3dd03 commit 8b938d0Copy full SHA for 8b938d0
share/nixos-shell.nix
@@ -6,7 +6,7 @@
6
, flakeAttr ? null
7
}:
8
let
9
- lib = (import nixpkgs { }).lib;
+ lib = flake.inputs.nixpkgs.lib or (import nixpkgs { }).lib;
10
11
nixos-shell = import ./modules/nixos-shell.nix;
12
nixos-shell-config = import ./modules/nixos-shell-config.nix;
@@ -15,7 +15,7 @@ let
15
16
getFlakeOutput = path: lib.attrByPath path null flake.outputs;
17
18
- mkShellSystem = config: import "${toString nixpkgs}/nixos/lib/eval-config.nix" {
+ mkShellSystem = config: import "${toString flake.inputs.nixpkgs or nixpkgs}/nixos/lib/eval-config.nix" {
19
inherit system;
20
modules = [
21
config
0 commit comments