mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03: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 New Issue
Block a user