summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-09-11 23:36:10 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-09-11 23:36:10 +0200
commitfa6064ad86a020f52a75219bff044714f2a9ebbd (patch)
tree47db504f6cc7606db9eb8744f84f6748070c62c8
parente0759a49733dfc3aa225b8a7423c00da6e1ecb67 (diff)
top-level: fix nix-shell eval w/nixUnstable
For a full description of the underlying issue please read https://github.com/NixOS/nix/issues/4003
-rw-r--r--pkgs/top-level/impure.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix
index 3ba6c08a140b..88440f711d36 100644
--- a/pkgs/top-level/impure.nix
+++ b/pkgs/top-level/impure.nix
@@ -81,7 +81,7 @@ in
# not be passed.
assert args ? localSystem -> !(args ? system || args ? platform);
-import ./. (builtins.removeAttrs args [ "system" "platform" ] // {
+import ./. (builtins.removeAttrs args [ "system" "platform" "inNixShell" ] // {
inherit config overlays crossSystem crossOverlays;
# Fallback: Assume we are building packages on the current (build, in GNU
# Autotools parlance) system.