mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 07:18:56 +00:00
ghc: consistent downloads.haskell.org src URLs
Consistency is good in general and these seem to work just as well as the others, but it also helps with blacklisting package updates, as in: https://github.com/ryantm/nixpkgs-update/pull/160
This commit is contained in:
parent
39fe57fea3
commit
072a3bda78
@ -87,7 +87,7 @@ stdenv.mkDerivation (rec {
|
||||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.haskell.org/~ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
sha256 = "1ch4j2asg7pr52ai1hwzykxyj553wndg7wq93i47ql4fllspf48i";
|
||||
};
|
||||
|
||||
|
@ -92,7 +92,7 @@ stdenv.mkDerivation (rec {
|
||||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.haskell.org/~ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
|
||||
sha256 = "0qg3zsmbk4rkwkc3jpas3zs74qaxmw4sp4v1mhsbj0a0dzls2jjd";
|
||||
};
|
||||
|
||||
@ -187,7 +187,7 @@ stdenv.mkDerivation (rec {
|
||||
strictDeps = true;
|
||||
|
||||
# Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
|
||||
dontAddExtraLibs = true;
|
||||
dontAddExtraLibs = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl autoconf automake m4 python3 sphinx
|
||||
|
Loading…
Reference in New Issue
Block a user