1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

Merge pull request #97807 from Ma27/fix-nix-shell-eval

top-level: fix nix-shell eval w/nixUnstable
This commit is contained in:
Maximilian Bosch 2020-09-14 09:10:05 +02:00 committed by GitHub
commit 2a7e3bcefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.