top-level/impure.nix: expose crossOverlays
This commit is contained in:
parent
5eea658778
commit
97a3c7f5a3
@ -72,6 +72,8 @@ in
|
|||||||
else overlays homeOverlaysDir
|
else overlays homeOverlaysDir
|
||||||
else []
|
else []
|
||||||
|
|
||||||
|
, crossOverlays ? []
|
||||||
|
|
||||||
, ...
|
, ...
|
||||||
} @ args:
|
} @ args:
|
||||||
|
|
||||||
@ -80,7 +82,7 @@ in
|
|||||||
assert args ? localSystem -> !(args ? system || args ? platform);
|
assert args ? localSystem -> !(args ? system || args ? platform);
|
||||||
|
|
||||||
import ./. (builtins.removeAttrs args [ "system" "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
|
# Fallback: Assume we are building packages on the current (build, in GNU
|
||||||
# Autotools parlance) system.
|
# Autotools parlance) system.
|
||||||
localSystem = (if args ? localSystem then {}
|
localSystem = (if args ? localSystem then {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user