@@ -96,8 +96,8 @@ stdenv.mkDerivation (rec {
9696 outputs = [ "out" "doc" ];
9797
9898 patches = [(fetchpatch {
99− url = "https://github.com/haskell/hsc2hs/commit/738f3666c878ee9e79c3d5e819ef8b3460288edf.patch";
100− sha256 = "1q3rg7lka5czsryzj2nfr3f2iy2zw87kfd54hc4dlxz79z3vwz8p";
99+ url = "https://github.com/haskell/hsc2hs/commit/738f3666c878ee9e79c3d5e819ef8b3460288edf.diff";
100+ sha256 = "0plzsbfaq6vb1023lsarrjglwgr9chld4q3m99rcfzx0yx5mibp3";
101101 extraPrefix = "utils/hsc2hs/";
102102 stripLen = 1;
103103 }) (fetchpatch rec { # https://phabricator.haskell.org/D5123
@@ -112,8 +112,8 @@ stdenv.mkDerivation (rec {
112112 })
113113 ++ stdenv.lib.optional stdenv.isDarwin ./backport-dylib-command-size-limit.patch
114114 ++ stdenv.lib.optional (targetPlatform.isAarch32 || targetPlatform.isAarch64) (fetchpatch {
115− url = "https://github.com/ghc/ghc/commit/d8495549ba9d194815c2d0eaee6797fc7c00756a.patch";
116− sha256 = "0ck3a26bvy6w3jy2x19zgixpfs3ig1ycdnq08xia1dd8gik9hjgf";
115+ url = "https://github.com/ghc/ghc/commit/d8495549ba9d194815c2d0eaee6797fc7c00756a.diff";
116+ sha256 = "1yjcma507c609bcim4rnxq0gaj2dg4d001jklmbpbqpzqzxkn5sz";
117117 });
118118
119119 postPatch = "patchShebangs .";