fix "nix-shell" with system-parameterized flakes

This commit is contained in:
Ryan Mulligan 2020-10-18 09:56:02 -07:00
parent 29575b3a38
commit a9c8aded8f
2 changed files with 3 additions and 3 deletions

View File

@ -12,5 +12,5 @@ let
});
in
if returnShellEnv
then flake-compat.shellNix.devShell
else flake-compat.defaultNix.default
then flake-compat.shellNix
else flake-compat.defaultNix

View File

@ -66,6 +66,6 @@
in {
devShell = shell;
packages.nixpkgs-update = pkg;
defaultPackage = self.packages."${system}".nixpkgs-update;
defaultPackage = pkg;
});
}