forked from mirrors/nixpkgs
ghc on aarch64: try to work around #66277
This commit is contained in:
parent
d42ed9b401
commit
4179ba049c
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue