summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-08-21 14:58:14 -0400
committerShea Levy <shea@shealevy.com>2018-08-21 14:58:14 -0400
commit28e51c7ceac1c3df219dbf8388bf122f817459b7 (patch)
tree1ef2b59c3969576829b83cdfc27eed0da773410a /pkgs/development/compilers
parente04f5c925e07840636c46f74b1069c64b1eb28c5 (diff)
downloadnixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar.gz
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar.bz2
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar.lz
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar.xz
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.tar.zst
nixlib-28e51c7ceac1c3df219dbf8388bf122f817459b7.zip
ghc: Use stable URL for deterministic profiling patch.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/8.4.3.nix5
1 files changed, 3 insertions, 2 deletions
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;