Skip to content

Commit

Permalink
top-level: fix nix-shell eval w/nixUnstable
Browse files Browse the repository at this point in the history
For a full description of the underlying issue please read
NixOS/nix#4003
  • Loading branch information
Ma27 committed Sep 11, 2020
1 parent e0759a4 commit fa6064a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/impure.nix
Expand Up @@ -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.
Expand Down

0 comments on commit fa6064a

Please sign in to comment.