llvm_13: fix cross-compilation

apply the same fix as used in 517d2b963f
This commit is contained in:
Rick van Schijndel
2021-11-16 00:42:58 +01:00
committed by sterni
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 ];