top-level/impure.nix: expose crossOverlays

This commit is contained in:
Matthew Bauer 2019-03-02 16:41:26 -05:00
parent 5eea658778
commit 97a3c7f5a3

View File

@ -72,6 +72,8 @@ in
else overlays homeOverlaysDir
else []
, crossOverlays ? []
, ...
} @ args:
@ -80,7 +82,7 @@ in
assert args ? localSystem -> !(args ? system || args ? platform);
import ./. (builtins.removeAttrs args [ "system" "platform" ] // {
inherit config overlays crossSystem;
inherit config overlays crossSystem crossOverlays;
# Fallback: Assume we are building packages on the current (build, in GNU
# Autotools parlance) system.
localSystem = (if args ? localSystem then {}