mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-14 09:16:39 +03:00
cross-workarounds: Don't apply overlay on pkgsBuildBuild
As described near the change, this would cause qemu to become an overly costly build.
This commit is contained in:
parent
a9d3769cc3
commit
b07dc19062
@ -9,7 +9,10 @@ let
|
|||||||
config.nixpkgs.localSystem.system != null &&
|
config.nixpkgs.localSystem.system != null &&
|
||||||
config.nixpkgs.crossSystem.system != config.nixpkgs.localSystem.system;
|
config.nixpkgs.crossSystem.system != config.nixpkgs.localSystem.system;
|
||||||
|
|
||||||
AArch32Overlay = final: super: {
|
AArch32Overlay = final: super:
|
||||||
|
# Ensure pkgsBuildBuild ends up unmodified, otherwise the canary test will
|
||||||
|
# get super expensive to build.
|
||||||
|
if super.stdenv.buildPlatform == super.stdenv.hostPlatform then {} else {
|
||||||
# Works around libselinux failure with python on armv7l.
|
# Works around libselinux failure with python on armv7l.
|
||||||
# LONG_BIT definition appears wrong for platform
|
# LONG_BIT definition appears wrong for platform
|
||||||
libselinux = (super.libselinux
|
libselinux = (super.libselinux
|
||||||
|
Loading…
Reference in New Issue
Block a user