Skip to content

Commit 52b8146

Browse files
stack: drop released patch
1 parent f94cecf commit 52b8146

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -161,30 +161,6 @@ with haskellLib;
161161
hackage-db-unstable
162162
;
163163

164-
# Stack uses pure nix-shells for certain operations including HTTPS requests
165-
# This patch makes stack add pkgs.cacert, so the certificate DB is available.
166-
# https://github.com/commercialhaskell/stack/pull/6854 krank:ignore-line
167-
stack =
168-
appendPatches
169-
[
170-
(pkgs.fetchpatch {
171-
name = "stack-add-cacert-to-pure-shells.patch";
172-
url = "https://github.com/commercialhaskell/stack/commit/e869263cbd84a9e59ce1fa467e82993c8e7fb1dd.patch";
173-
hash = "sha256-O7GaNgcGBY6m6GHqVtejqOu2HCWWKWXARPnr/upT1RQ=";
174-
includes = [ "src/Stack/Nix.hs" ];
175-
})
176-
]
177-
(
178-
overrideCabal (drv: {
179-
# Stack's source files use CRLF
180-
prePatch = ''
181-
${drv.prePatch or ""}
182-
sed -i -e 's/\r$//' src/Stack/Nix.hs
183-
'';
184-
}) super.stack
185-
);
186-
187-
# Extensions wants a specific version of Cabal for its list of Haskell
188164
# language extensions.
189165
extensions = doJailbreak (
190166
super.extensions.override {

0 commit comments

Comments
 (0)