mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nix: Don't use stdenv.cross
This commit is contained in:
parent
822084fa37
commit
40be9738ab
@ -2,6 +2,7 @@
|
||||
, pkgconfig, boehmgc, perlPackages, libsodium, aws-sdk-cpp, brotli, readline
|
||||
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook5_xsl
|
||||
, libseccomp, busybox
|
||||
, hostPlatform
|
||||
, storeDir ? "/nix/store"
|
||||
, stateDir ? "/nix/var"
|
||||
, confDir ? "/etc"
|
||||
@ -95,8 +96,8 @@ let
|
||||
--disable-init-state
|
||||
--enable-gc
|
||||
'' + stdenv.lib.optionalString (
|
||||
stdenv.cross ? nix && stdenv.cross.nix ? system
|
||||
) ''--with-system=${stdenv.cross.nix.system}'';
|
||||
hostPlatform ? nix && hostPlatform.nix ? system
|
||||
) ''--with-system=${hostPlatform.nix.system}'';
|
||||
|
||||
doInstallCheck = false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user