diff options
author | Niklas Hambüchen <mail@nh2.me> | 2021-07-04 17:24:10 +0000 |
---|---|---|
committer | Niklas Hambüchen <mail@nh2.me> | 2021-07-05 16:38:24 +0200 |
commit | 947f757bba6a540272af9339c7ad278bd0bd6c1f (patch) | |
tree | 96bd9ae241cebee627781920de5cf4e3f71d4229 /pkgs/development/compilers | |
parent | a666b155725da3033fbfae99834bec0b6752911c (diff) | |
download | nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar.gz nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar.bz2 nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar.lz nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar.xz nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.tar.zst nixpkgs-947f757bba6a540272af9339c7ad278bd0bd6c1f.zip |
haskell.packages.ghc8102Binary: Add comments
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/ghc/8.10.2-binary.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix index ad1a47e5cc9..a0e84c4502b 100644 --- a/pkgs/development/compilers/ghc/8.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix @@ -68,8 +68,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ perl ]; propagatedBuildInputs = lib.optionals useLLVM [ llvmPackages.llvm ]; + # Set LD_LIBRARY_PATH or equivalent so that the programs running as part + # of the bindist installer can find the libraries they expect. # Cannot patchelf beforehand due to relative RPATHs that anticipate - # the final install location/ + # the final install location. ${libEnvVar} = libPath; postUnpack = @@ -133,6 +135,7 @@ stdenv.mkDerivation rec { "--with-gmp-libraries=${lib.getLib gmp}/lib" "--with-gmp-includes=${lib.getDev gmp}/include" ] ++ lib.optional stdenv.isDarwin "--with-gcc=${./gcc-clang-wrapper.sh}" + # From: https://github.com/NixOS/nixpkgs/pull/43369/commits ++ lib.optional stdenv.hostPlatform.isMusl "--disable-ld-override"; # No building is necessary, but calling make without flags ironically |