aboutsummaryrefslogtreecommitdiff
path: root/pkgs/stdenv/custom
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-12-04 21:06:46 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-12-04 21:06:46 -0600
commita3a6ad7a01e943a4097c87cb144d331910693d82 (patch)
tree2f45f710bebba782423e8b64a71ba3c44e9af046 /pkgs/stdenv/custom
parent9d8de9ffaa1bcdd4dc54b0e40666f0c42026a43c (diff)
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.
Diffstat (limited to 'pkgs/stdenv/custom')
-rw-r--r--pkgs/stdenv/custom/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/custom/default.nix b/pkgs/stdenv/custom/default.nix
index b6ea8685f8e..e86face9519 100644
--- a/pkgs/stdenv/custom/default.nix
+++ b/pkgs/stdenv/custom/default.nix
@@ -2,7 +2,7 @@
, localSystem, crossSystem, config, overlays
}:
-assert crossSystem == null;
+assert crossSystem == localSystem;
let
bootStages = import ../. {