ghc on aarch64: try to work around #66277

This commit is contained in:
Vladimír Čunát 2019-09-06 22:31:35 +02:00
parent d42ed9b401
commit 4179ba049c
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -225,6 +225,10 @@ stdenv.mkDerivation (rec {
egrep --quiet '^#!' <(head -n 1 $i) || continue
sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
done
''
# Temporary work-around for https://github.com/NixOS/nixpkgs/issues/66277
+ stdenv.lib.optionalString hostPlatform.isAarch64 ''
rm -rf "$doc/share/doc/ghc/html/libraries"
'';
passthru = {