llvmPackages_12.libunwind: Make sure we get right llvm version

This commit is contained in:
sternenseemann 2021-04-26 21:46:44 +02:00 committed by John Ericson
parent 894a09dfd2
commit 4caedc060f

View File

@ -229,12 +229,13 @@ let
libunwind = libraries.libunwind;
}));
openmp = callPackage ./openmp { inherit llvm_meta; };
libunwind = callPackage ./libunwind ({
inherit (buildLlvmTools) llvm;
} // lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
});
libunwind = callPackage ./libunwind ({ inherit llvm_meta; } //
(lib.optionalAttrs (stdenv.hostPlatform.useLLVM or false) {
stdenv = overrideCC stdenv buildLlvmTools.lldClangNoLibcxx;
}));
openmp = callPackage ./openmp { inherit llvm_meta; };
});