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
This commit is contained in:
Maximilian Bosch 2020-09-11 23:36:10 +02:00
parent e0759a4973
commit fa6064ad86
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

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.