mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 09:00:19 +02:00
llvm_13: fix cross-compilation
apply the same fix as used in 517d2b963f
This commit is contained in:
parent
badb5a1af2
commit
e31f392946
|
@ -46,7 +46,8 @@ in stdenv.mkDerivation (rec {
|
|||
buildInputs = [ libxml2 libffi ]
|
||||
++ optional enablePFM libpfm; # exegesis
|
||||
|
||||
propagatedBuildInputs = [ ncurses zlib ];
|
||||
propagatedBuildInputs = optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ ncurses ]
|
||||
++ [ zlib ];
|
||||
|
||||
checkInputs = [ which ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue