diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-09-06 22:31:35 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-09-06 22:32:40 +0200 |
commit | 4179ba049cf1a35bad5e9ae43c01b5c7bffa724e (patch) | |
tree | 2790aa2ddc382059dd9b3d3cfe1ccfe61b2ea493 /pkgs/development/compilers | |
parent | d42ed9b401666e905f797a5f994264a0942fad97 (diff) |
ghc on aarch64: try to work around #66277
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/ghc/8.6.5.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.6.5.nix b/pkgs/development/compilers/ghc/8.6.5.nix index c859a34729d0d..a350a9025e56a 100644 --- a/pkgs/development/compilers/ghc/8.6.5.nix +++ b/pkgs/development/compilers/ghc/8.6.5.nix @@ -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 = { |