lol

stack: unset pin to Stackage LTS

+2 -135
+1 -36
pkgs/development/haskell-modules/configuration-common.nix
··· 1164 1164 jailbreak = assert drv.version == "1.0.9" && drv.revision == "1"; true; 1165 1165 }) super.dhall-nixpkgs); 1166 1166 1167 - stack_2_11_1 = 1168 - lib.pipe 1169 - super.stack_2_11_1 1170 - [ 1171 - (self.generateOptparseApplicativeCompletions [ "stack" ]) 1172 - 1173 - # Seems to be an unnecessarily strict dep on ansi-terminal 1174 - doJailbreak 1175 - 1176 - # The below patch has unix line endings, but the actual file 1177 - # has CRLF line endings. The following override changes the 1178 - # file to unix line endings before applying the patch. 1179 - (overrideCabal (oldAttrs: { 1180 - prePatch = oldAttrs.prePatch or "" + '' 1181 - "${lib.getBin pkgs.buildPackages.dos2unix}/bin/dos2unix" src/main/BuildInfo.hs 1182 - ''; 1183 - })) 1184 - # stack-2.11.1 has a bug when building without git. 1185 - # https://github.com/commercialhaskell/stack/pull/6127 1186 - (appendPatch 1187 - (fetchpatch { 1188 - name = "stack-fix-building-without-git.patch"; 1189 - url = "https://github.com/commercialhaskell/stack/pull/6127/commits/086f93933d547736a7007fc4110f7816ef21f691.patch"; 1190 - hash = "sha256-1nwzMoumWceVu8RNnH2mmSxYT24G1FAnFRJvUMeD3po="; 1191 - includes = [ "src/main/BuildInfo.hs" ]; 1192 - }) 1193 - ) 1194 - ]; 1195 - 1196 1167 stack = 1197 1168 lib.pipe 1198 - (super.stack.override { 1199 - # stack needs to use an exact hpack version. When changing or removing 1200 - # this override, double-check the upstream stack release to confirm 1201 - # that we are using the correct hpack version. See 1202 - # https://github.com/NixOS/nixpkgs/issues/223390 for more information. 1203 - hpack = assert self.hpack.version == "0.35.2"; self.hpack; 1204 - }) 1169 + super.stack 1205 1170 [ 1206 1171 (self.generateOptparseApplicativeCompletions [ "stack" ]) 1207 1172
-1
pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml
··· 2357 2357 - srt ==0.1.2.0 2358 2358 - srtree ==1.0.0.5 2359 2359 - stache ==2.3.4 2360 - - stack ==2.9.3.1 2361 2360 - stack-all ==0.4.1 2362 2361 - stack-clean-old ==0.4.6 2363 2362 - stack-templatizer ==0.1.1.0
-97
pkgs/development/haskell-modules/hackage-packages.nix
··· 274073 274073 , pretty, primitive, process, project-template, QuickCheck, random 274074 274074 , raw-strings-qq, retry, rio, rio-prettyprint, semigroups 274075 274075 , smallcheck, split, stm, streaming-commons, tar, template-haskell 274076 - , temporary, text, text-metrics, th-reify-many, time, tls 274077 - , transformers, typed-process, unicode-transforms, unix 274078 - , unix-compat, unliftio, unordered-containers, vector, yaml 274079 - , zip-archive, zlib 274080 - }: 274081 - mkDerivation { 274082 - pname = "stack"; 274083 - version = "2.9.3.1"; 274084 - sha256 = "1mi0qp951qgcpc84v05gspkfdii9m32gzl47bbx6jczy6vjqmdq6"; 274085 - configureFlags = [ 274086 - "-fdisable-git-info" "-fhide-dependency-versions" 274087 - "-fsupported-build" 274088 - ]; 274089 - isLibrary = true; 274090 - isExecutable = true; 274091 - setupHaskellDepends = [ base Cabal filepath ]; 274092 - libraryHaskellDepends = [ 274093 - aeson annotated-wl-pprint ansi-terminal array async attoparsec base 274094 - base64-bytestring bytestring Cabal casa-client casa-types colour 274095 - conduit conduit-extra containers cryptonite cryptonite-conduit 274096 - deepseq directory echo exceptions extra file-embed filelock 274097 - filepath fsnotify generic-deriving hackage-security hashable 274098 - hi-file-parser hpack hpc http-client http-client-tls http-conduit 274099 - http-download http-types memory microlens mintty mono-traversable 274100 - mtl mustache neat-interpolation network-uri open-browser 274101 - optparse-applicative pantry path path-io persistent 274102 - persistent-sqlite persistent-template pretty primitive process 274103 - project-template random retry rio rio-prettyprint semigroups split 274104 - stm streaming-commons tar template-haskell temporary text 274105 - text-metrics th-reify-many time tls transformers typed-process 274106 - unicode-transforms unix unix-compat unliftio unordered-containers 274107 - vector yaml zip-archive zlib 274108 - ]; 274109 - executableHaskellDepends = [ 274110 - aeson annotated-wl-pprint ansi-terminal array async attoparsec base 274111 - base64-bytestring bytestring Cabal casa-client casa-types colour 274112 - conduit conduit-extra containers cryptonite cryptonite-conduit 274113 - deepseq directory echo exceptions extra file-embed filelock 274114 - filepath fsnotify generic-deriving hackage-security hashable 274115 - hi-file-parser hpack hpc http-client http-client-tls http-conduit 274116 - http-download http-types memory microlens mintty mono-traversable 274117 - mtl mustache neat-interpolation network-uri open-browser 274118 - optparse-applicative pantry path path-io persistent 274119 - persistent-sqlite persistent-template pretty primitive process 274120 - project-template random retry rio rio-prettyprint semigroups split 274121 - stm streaming-commons tar template-haskell temporary text 274122 - text-metrics th-reify-many time tls transformers typed-process 274123 - unicode-transforms unix unix-compat unliftio unordered-containers 274124 - vector yaml zip-archive zlib 274125 - ]; 274126 - testHaskellDepends = [ 274127 - aeson annotated-wl-pprint ansi-terminal array async attoparsec base 274128 - base64-bytestring bytestring Cabal casa-client casa-types colour 274129 - conduit conduit-extra containers cryptonite cryptonite-conduit 274130 - deepseq directory echo exceptions extra file-embed filelock 274131 - filepath fsnotify generic-deriving hackage-security hashable 274132 - hi-file-parser hpack hpc hspec http-client http-client-tls 274133 - http-conduit http-download http-types memory microlens mintty 274134 - mono-traversable mtl mustache neat-interpolation network-uri 274135 - open-browser optparse-applicative pantry path path-io persistent 274136 - persistent-sqlite persistent-template pretty primitive process 274137 - project-template QuickCheck random raw-strings-qq retry rio 274138 - rio-prettyprint semigroups smallcheck split stm streaming-commons 274139 - tar template-haskell temporary text text-metrics th-reify-many time 274140 - tls transformers typed-process unicode-transforms unix unix-compat 274141 - unliftio unordered-containers vector yaml zip-archive zlib 274142 - ]; 274143 - testToolDepends = [ hspec-discover ]; 274144 - doCheck = false; 274145 - preCheck = "export HOME=$TMPDIR"; 274146 - postInstall = '' 274147 - exe=$out/bin/stack 274148 - mkdir -p $out/share/bash-completion/completions 274149 - $exe --bash-completion-script $exe >$out/share/bash-completion/completions/stack 274150 - ''; 274151 - description = "The Haskell Tool Stack"; 274152 - license = lib.licenses.bsd3; 274153 - mainProgram = "stack"; 274154 - maintainers = [ lib.maintainers.cdepillabout ]; 274155 - }) {}; 274156 - 274157 - "stack_2_11_1" = callPackage 274158 - ({ mkDerivation, aeson, annotated-wl-pprint, ansi-terminal, array 274159 - , async, attoparsec, base, base64-bytestring, bytestring, Cabal 274160 - , casa-client, casa-types, colour, conduit, conduit-extra 274161 - , containers, cryptonite, cryptonite-conduit, deepseq, directory 274162 - , echo, exceptions, extra, file-embed, filelock, filepath, fsnotify 274163 - , generic-deriving, hackage-security, hashable, hi-file-parser 274164 - , hpack, hpc, hspec, hspec-discover, http-client, http-client-tls 274165 - , http-conduit, http-download, http-types, memory, microlens 274166 - , mintty, mono-traversable, mtl, mustache, neat-interpolation 274167 - , network-uri, open-browser, optparse-applicative, pantry, path 274168 - , path-io, persistent, persistent-sqlite, persistent-template 274169 - , pretty, primitive, process, project-template, QuickCheck, random 274170 - , raw-strings-qq, retry, rio, rio-prettyprint, semigroups 274171 - , smallcheck, split, stm, streaming-commons, tar, template-haskell 274172 274076 , text, text-metrics, th-reify-many, time, tls, transformers 274173 274077 , typed-process, unicode-transforms, unix, unix-compat, unliftio 274174 274078 , unordered-containers, vector, yaml, zip-archive, zlib ··· 274245 274149 ''; 274246 274150 description = "The Haskell Tool Stack"; 274247 274151 license = lib.licenses.bsd3; 274248 - hydraPlatforms = lib.platforms.none; 274249 274152 mainProgram = "stack"; 274250 274153 maintainers = [ lib.maintainers.cdepillabout ]; 274251 274154 }) {};
+1 -1
pkgs/top-level/all-packages.nix
··· 15997 15997 15998 15998 cabal-install = haskell.lib.compose.justStaticExecutables haskellPackages.cabal-install; 15999 15999 16000 - stack = haskell.lib.compose.justStaticExecutables haskellPackages.stack_2_11_1; 16000 + stack = haskell.lib.compose.justStaticExecutables haskellPackages.stack; 16001 16001 16002 16002 hlint = haskell.lib.compose.justStaticExecutables haskellPackages.hlint; 16003 16003