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 5508874 + 55d092c commit 362f872Copy full SHA for 362f872
share/nixos-shell.nix
@@ -15,7 +15,7 @@ let
15
16
getFlakeOutput = path: lib.attrByPath path null flake.outputs;
17
18
- mkShellSystem = config: import "${toString flake.inputs.nixpkgs or nixpkgs}/nixos/lib/eval-config.nix" {
+ mkShellSystem = config: import "${if !(flakeUri == null) then (toString flake.inputs.nixpkgs) else (toString nixpkgs)}/nixos/lib/eval-config.nix" {
19
inherit system;
20
modules = [
21
config
0 commit comments