mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
tests.cc-wrapper.default: reduce rebuild amount from 429
to 319
On native the `emulator` is now `execline` which adds 110 more dependencies.
This commit is contained in:
parent
e041d36e61
commit
5f2d5d77da
@ -8,7 +8,7 @@ let
|
||||
|| (stdenv.cc.isGNU && stdenv.hostPlatform.isLinux)
|
||||
);
|
||||
staticLibc = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "-L ${glibc.static}/lib";
|
||||
emulator = stdenv.hostPlatform.emulator buildPackages;
|
||||
emulator = lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) (stdenv.hostPlatform.emulator buildPackages);
|
||||
isCxx = stdenv.cc.libcxx != null;
|
||||
libcxxStdenvSuffix = lib.optionalString isCxx "-libcxx";
|
||||
CC = "PATH= ${lib.getExe' stdenv.cc "${stdenv.cc.targetPrefix}cc"}";
|
||||
|
Loading…
Reference in New Issue
Block a user