Skip to content

Commit 362f872

Browse files
authored
Merge pull request #67 from MatthewCroughan/mc/fix-error
Fix bug introduced by 3e3dd03
2 parents 5508874 + 55d092c commit 362f872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/nixos-shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let
1515

1616
getFlakeOutput = path: lib.attrByPath path null flake.outputs;
1717

18-
mkShellSystem = config: import "${toString flake.inputs.nixpkgs or nixpkgs}/nixos/lib/eval-config.nix" {
18+
mkShellSystem = config: import "${if !(flakeUri == null) then (toString flake.inputs.nixpkgs) else (toString nixpkgs)}/nixos/lib/eval-config.nix" {
1919
inherit system;
2020
modules = [
2121
config

0 commit comments

Comments
 (0)