mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
committed by
github-actions[bot]
parent
013224f8f2
commit
52c120aeca
@@ -5,6 +5,7 @@
|
||||
hash,
|
||||
patches ? [ ],
|
||||
fetchFromGitHub,
|
||||
buildPackages,
|
||||
|
||||
cmake,
|
||||
ninja,
|
||||
@@ -87,6 +88,10 @@ stdenv.mkDerivation rec {
|
||||
"-DCMAKE_C_FLAGS=-fzero-init-padding-bits=unions"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) {
|
||||
HOSTCC = lib.getExe buildPackages.stdenv.cc;
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Parallel checking causes test failures
|
||||
|
||||
Reference in New Issue
Block a user