mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
top-level/impure.nix: expose crossOverlays
This commit is contained in:
parent
5eea658778
commit
97a3c7f5a3
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue