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

(cherry picked from commit fa6064a)
  • Loading branch information
Ma27 committed Sep 14, 2020
1 parent 8af2978 commit c1dbaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/impure.nix
Original file line number Diff line number Diff line change
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 c1dbaed

Please sign in to comment.