From 28e51c7ceac1c3df219dbf8388bf122f817459b7 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 21 Aug 2018 14:58:14 -0400 Subject: ghc: Use stable URL for deterministic profiling patch. --- pkgs/development/compilers/ghc/8.4.3.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs/development/compilers') diff --git a/pkgs/development/compilers/ghc/8.4.3.nix b/pkgs/development/compilers/ghc/8.4.3.nix index 923b5b6647b2..522dd9cfbf06 100644 --- a/pkgs/development/compilers/ghc/8.4.3.nix +++ b/pkgs/development/compilers/ghc/8.4.3.nix @@ -99,8 +99,9 @@ stdenv.mkDerivation (rec { extraPrefix = "utils/hsc2hs/"; stripLen = 1; })] ++ stdenv.lib.optional deterministicProfiling - (fetchpatch { - url = "https://phabricator-files.haskell.org/file/data/yd2fclrwulila2quki5q/PHID-FILE-lr2j63hkglwauprxycrt/D4388.diff"; + (fetchpatch rec { + url = "http://tarballs.nixos.org/sha256/${sha256}"; + name = "D4388.diff"; sha256 = "0w6sdcvnqjlnlzpvnzw20b80v150ijjyjvs9548ildc1928j0w7s"; }) ++ stdenv.lib.optional stdenv.isDarwin ./backport-dylib-command-size-limit.patch; -- cgit 1.4.1