summary refs log tree commit diff
path: root/pkgs/top-level/impure.nix
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 /pkgs/top-level/impure.nix
parente0759a49733dfc3aa225b8a7423c00da6e1ecb67 (diff)
downloadnixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar.gz
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar.bz2
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar.lz
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar.xz
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.tar.zst
nixpkgs-fa6064ad86a020f52a75219bff044714f2a9ebbd.zip
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
Diffstat (limited to 'pkgs/top-level/impure.nix')
-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 3ba6c08a140..88440f711d3 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.