From c1dbaed781e769cb9d5383b031e5ef82e3acbeae Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 11 Sep 2020 23:36:10 +0200 Subject: [PATCH] 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 (cherry picked from commit fa6064ad86a020f52a75219bff044714f2a9ebbd) --- pkgs/top-level/impure.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index 3ba6c08a140b2..88440f711d363 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.