llvm_13: fix cross-compilation

apply the same fix as used in 517d2b963f
This commit is contained in:
Rick van Schijndel 2021-11-09 21:42:38 +01:00 committed by sterni
parent badb5a1af2
commit e31f392946

View file

@ -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 ];