stdenv: implement crossOverlays

crossOverlays only apply to the packages being built, not the build
packages. It is useful when you don’t care what is used to build your
packages, just what is being built. The idea relies heavily on the
cross compiling infrastructure. Using this implies that we need to
create a cross stdenv.
This commit is contained in:
Matthew Bauer
2018-12-04 21:06:46 -06:00
parent 9d8de9ffaa
commit a3a6ad7a01
9 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
, localSystem, crossSystem, config, overlays
}:
assert crossSystem == null;
assert crossSystem == localSystem;
let
inherit (localSystem) system;