mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
top-level/impure.nix: expose crossOverlays
This commit is contained in:
parent
5eea658778
commit
97a3c7f5a3
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue