stack: use hpack == 0.38.1 to match upstream
See https://github.com/NixOS/nixpkgs/issues/223390 for background info.
This commit is contained in:
@@ -2124,7 +2124,7 @@ with haskellLib;
|
||||
self: super: {
|
||||
# stack needs to be built with the same hpack version that the upstream releases use.
|
||||
# https://github.com/NixOS/nixpkgs/issues/223390
|
||||
hpack = self.hpack_0_38_0;
|
||||
hpack = self.hpack_0_38_1;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -96,7 +96,6 @@ extra-packages:
|
||||
- hlint == 3.4.1 # 2022-09-21: preserve for ghc 8.10
|
||||
- hlint == 3.6.* # 2025-04-14: needed for hls with ghc-lib-parser 9.6
|
||||
- hnix-store-core < 0.7 # 2023-12-11: required by hnix-store-remote 0.6
|
||||
- hpack == 0.38.0 # 2025-04-23: preserve for stack == 3.5.1
|
||||
- hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
|
||||
-133
@@ -343075,139 +343075,6 @@ self: {
|
||||
}
|
||||
) { };
|
||||
|
||||
"hpack_0_38_0" = callPackage (
|
||||
{
|
||||
mkDerivation,
|
||||
aeson,
|
||||
base,
|
||||
bifunctors,
|
||||
bytestring,
|
||||
Cabal,
|
||||
containers,
|
||||
crypton,
|
||||
deepseq,
|
||||
directory,
|
||||
filepath,
|
||||
Glob,
|
||||
hspec,
|
||||
hspec-discover,
|
||||
http-client,
|
||||
http-client-tls,
|
||||
http-types,
|
||||
HUnit,
|
||||
infer-license,
|
||||
interpolate,
|
||||
mockery,
|
||||
mtl,
|
||||
pretty,
|
||||
QuickCheck,
|
||||
scientific,
|
||||
template-haskell,
|
||||
temporary,
|
||||
text,
|
||||
transformers,
|
||||
unordered-containers,
|
||||
vector,
|
||||
yaml,
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "hpack";
|
||||
version = "0.38.0";
|
||||
sha256 = "0iysz3xnxhjj49hjz9gv56awaldamrbidkiw0xd873g5yfyhyljp";
|
||||
revision = "1";
|
||||
editedCabalFile = "02pqfqqijvr2z3ki2rnb9nlavhzm59qbbvhq89bfdvhcicfgmmf4";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
aeson
|
||||
base
|
||||
bifunctors
|
||||
bytestring
|
||||
Cabal
|
||||
containers
|
||||
crypton
|
||||
deepseq
|
||||
directory
|
||||
filepath
|
||||
Glob
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
infer-license
|
||||
mtl
|
||||
pretty
|
||||
scientific
|
||||
text
|
||||
transformers
|
||||
unordered-containers
|
||||
vector
|
||||
yaml
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
aeson
|
||||
base
|
||||
bifunctors
|
||||
bytestring
|
||||
Cabal
|
||||
containers
|
||||
crypton
|
||||
deepseq
|
||||
directory
|
||||
filepath
|
||||
Glob
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
infer-license
|
||||
mtl
|
||||
pretty
|
||||
scientific
|
||||
text
|
||||
transformers
|
||||
unordered-containers
|
||||
vector
|
||||
yaml
|
||||
];
|
||||
testHaskellDepends = [
|
||||
aeson
|
||||
base
|
||||
bifunctors
|
||||
bytestring
|
||||
Cabal
|
||||
containers
|
||||
crypton
|
||||
deepseq
|
||||
directory
|
||||
filepath
|
||||
Glob
|
||||
hspec
|
||||
http-client
|
||||
http-client-tls
|
||||
http-types
|
||||
HUnit
|
||||
infer-license
|
||||
interpolate
|
||||
mockery
|
||||
mtl
|
||||
pretty
|
||||
QuickCheck
|
||||
scientific
|
||||
template-haskell
|
||||
temporary
|
||||
text
|
||||
transformers
|
||||
unordered-containers
|
||||
vector
|
||||
yaml
|
||||
];
|
||||
testToolDepends = [ hspec-discover ];
|
||||
description = "A modern format for Haskell packages";
|
||||
license = lib.licenses.mit;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
mainProgram = "hpack";
|
||||
}
|
||||
) { };
|
||||
|
||||
"hpack_0_38_1" = callPackage (
|
||||
{
|
||||
mkDerivation,
|
||||
|
||||
Reference in New Issue
Block a user