ghc-8.2.1: Get rid of `preReleaseName` binding now that it is released

No hashes should be changed

+4 -4
+4 -4
pkgs/development/compilers/ghc/8.2.1.nix
··· 10 10 let 11 11 inherit (bootPkgs) ghc; 12 12 version = "8.2.1"; 13 - preReleaseName = "ghc-8.2.1"; 13 + 14 14 commonBuildInputs = [ alex autoconf automake ghc happy hscolour perl python3 sphinx ]; 15 15 commonPreConfigure = '' 16 16 sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure 17 17 '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' 18 - export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/${preReleaseName}" 18 + export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/ghc-${version}" 19 19 '' + stdenv.lib.optionalString stdenv.isDarwin '' 20 20 export NIX_LDFLAGS+=" -no_dtrace_dof" 21 21 '' + stdenv.lib.optionalString enableIntegerSimple '' ··· 26 26 name = "ghc-${version}"; 27 27 28 28 src = fetchurl { 29 - url = "https://downloads.haskell.org/~ghc/${version}/${preReleaseName}-src.tar.xz"; 29 + url = "https://downloads.haskell.org/~ghc/${version}/${name}-src.tar.xz"; 30 30 sha256 = "1w4k0n23b9fg8kmarqhfamzpmf91p6jcdr6xlwzfmb4df2bd9hng"; 31 31 }; 32 32 ··· 57 57 checkTarget = "test"; 58 58 59 59 postInstall = '' 60 - paxmark m $out/lib/${preReleaseName}/bin/{ghc,haddock} 60 + paxmark m $out/lib/${name}/bin/{ghc,haddock} 61 61 62 62 # Install the bash completion file. 63 63 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc