From fa6064ad86a020f52a75219bff044714f2a9ebbd 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 --- 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 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.