mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-15 20:35:48 +01:00
Update lts and amazonka, jailbreak barrier
This commit is contained in:
parent
51592009a1
commit
b88bf9ea14
@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738136902,
|
"lastModified": 1770843696,
|
||||||
"narHash": "sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw=",
|
"narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9a5db3142ce450045840cc8d832b13b8a2018e0c",
|
"rev": "2343bbb58f99267223bc2aac4fc9ea301a155a16",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
24
nix/barrier.nix
Normal file
24
nix/barrier.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Generated by ./gen-packages.sh
|
||||||
|
{ mkDerivation, base, blaze-svg, bytestring, lens-family-core, lib
|
||||||
|
, tasty, tasty-golden, template-haskell, text, unordered-containers
|
||||||
|
}:
|
||||||
|
mkDerivation {
|
||||||
|
pname = "barrier";
|
||||||
|
version = "0.1.1";
|
||||||
|
sha256 = "6395da01eea1984c7bcc85c624b1b5dfbe0b6b764adeed7b04c9fa4d8de91ed9";
|
||||||
|
revision = "2";
|
||||||
|
editedCabalFile = "0b0va208hc9blny6pbzk2a7mc834xkafaza07a5liaccniach3m3";
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
enableSeparateDataOutput = true;
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
base blaze-svg bytestring template-haskell text
|
||||||
|
unordered-containers
|
||||||
|
];
|
||||||
|
testHaskellDepends = [
|
||||||
|
base bytestring lens-family-core tasty tasty-golden
|
||||||
|
];
|
||||||
|
homepage = "https://github.com/philopon/barrier";
|
||||||
|
description = "Shields.io style badge generator";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
}
|
||||||
@ -23,8 +23,10 @@ cd "$(dirname "$0")"
|
|||||||
gen stackage-server --hpack ../.
|
gen stackage-server --hpack ../.
|
||||||
|
|
||||||
# Has my R2 patch, which is still unreleased on 2025-01-24
|
# Has my R2 patch, which is still unreleased on 2025-01-24
|
||||||
#echo "...please ignore useless error below..."
|
amazonka_version=a7d699be1076e2aad05a1930ca3937ffea954ad8
|
||||||
2>/dev/null gen amazonka-core https://github.com/brendanhay/amazonka/archive/85e0289f8dc23c54b00f7f1a09845be7e032a1eb.zip --subpath lib/amazonka-core
|
|
||||||
|
2>/dev/null gen amazonka-core "https://github.com/brendanhay/amazonka/archive/${amazonka_version}.zip" --subpath lib/amazonka-core
|
||||||
|
gen amazonka-s3 "https://github.com/brendanhay/amazonka/archive/${amazonka_version}.zip" --subpath lib/services/amazonka-s3
|
||||||
|
|
||||||
# Pinned to 5.0.18.4 to avoid accidentally regenerating hoogle files. See
|
# Pinned to 5.0.18.4 to avoid accidentally regenerating hoogle files. See
|
||||||
# warning in stack.yaml!
|
# warning in stack.yaml!
|
||||||
|
|||||||
@ -1,21 +1,21 @@
|
|||||||
# Generated by ./gen-packages.sh
|
# Generated by ./gen-packages.sh
|
||||||
{ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
|
{ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
|
||||||
, auto-update, barrier, base, blaze-html, blaze-markup, bytestring
|
, attoparsec-aeson, auto-update, barrier, base, blaze-html
|
||||||
, Cabal, casa-client, classy-prelude, classy-prelude-conduit
|
, blaze-markup, bytestring, Cabal, casa-client, classy-prelude
|
||||||
, classy-prelude-yesod, cmark-gfm, conduit, conduit-extra
|
, classy-prelude-conduit, classy-prelude-yesod, cmark-gfm, conduit
|
||||||
, containers, deepseq, directory, email-validate, esqueleto
|
, conduit-extra, containers, deepseq, directory, email-validate
|
||||||
, exceptions, fast-logger, file-embed, filepath, formatting, gauge
|
, esqueleto, exceptions, fast-logger, file-embed, filepath
|
||||||
, ghc-prim, haddock-library, hashable, hoogle, hpack, html-conduit
|
, formatting, gauge, ghc-prim, haddock-library, hashable, hoogle
|
||||||
, http-client, http-conduit, http-types, lens, lib, monad-logger
|
, hpack, html-conduit, http-client, http-conduit, http-types, lens
|
||||||
, mono-traversable, mtl, optparse-applicative, pantry, path
|
, lib, monad-logger, mono-traversable, mtl, optparse-applicative
|
||||||
, path-io, path-pieces, persistent, persistent-postgresql
|
, pantry, path, path-io, path-pieces, persistent
|
||||||
, persistent-sqlite, persistent-template, process, resource-pool
|
, persistent-postgresql, persistent-sqlite, persistent-template
|
||||||
, resourcet, retry, rio, shakespeare, streaming-commons
|
, process, resource-pool, resourcet, retry, rio, shakespeare
|
||||||
, tar-conduit, template-haskell, text, these, transformers
|
, streaming-commons, tar-conduit, template-haskell, text, these
|
||||||
, unliftio, unordered-containers, wai, wai-extra, wai-logger, warp
|
, transformers, unliftio, unordered-containers, wai, wai-extra
|
||||||
, xml-conduit, xml-types, yaml, yesod, yesod-auth, yesod-core
|
, wai-logger, warp, xml-conduit, xml-types, yaml, yesod, yesod-auth
|
||||||
, yesod-form, yesod-gitrepo, yesod-gitrev, yesod-newsfeed
|
, yesod-core, yesod-form, yesod-gitrepo, yesod-gitrev
|
||||||
, yesod-sitemap, yesod-static, zlib
|
, yesod-newsfeed, yesod-sitemap, yesod-static, zlib
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "stackage-server";
|
pname = "stackage-server";
|
||||||
@ -24,31 +24,14 @@ mkDerivation {
|
|||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
libraryHaskellDepends = [
|
libraryHaskellDepends = [
|
||||||
aeson amazonka amazonka-core amazonka-s3 auto-update barrier base
|
aeson amazonka amazonka-core amazonka-s3 attoparsec-aeson
|
||||||
blaze-html blaze-markup bytestring Cabal classy-prelude
|
auto-update barrier base blaze-html blaze-markup bytestring Cabal
|
||||||
classy-prelude-conduit classy-prelude-yesod cmark-gfm conduit
|
classy-prelude classy-prelude-conduit classy-prelude-yesod
|
||||||
conduit-extra containers deepseq directory email-validate esqueleto
|
cmark-gfm conduit conduit-extra containers deepseq directory
|
||||||
exceptions fast-logger file-embed filepath formatting ghc-prim
|
email-validate esqueleto exceptions fast-logger file-embed filepath
|
||||||
haddock-library hashable hoogle html-conduit http-client
|
formatting ghc-prim haddock-library hashable hoogle html-conduit
|
||||||
http-conduit http-types lens monad-logger mono-traversable mtl
|
http-client http-conduit http-types lens monad-logger
|
||||||
pantry path path-pieces persistent persistent-postgresql
|
mono-traversable mtl pantry path path-pieces persistent
|
||||||
persistent-sqlite persistent-template process resource-pool
|
|
||||||
resourcet retry rio shakespeare streaming-commons tar-conduit
|
|
||||||
template-haskell text these transformers unliftio
|
|
||||||
unordered-containers wai wai-extra wai-logger warp xml-conduit
|
|
||||||
xml-types yaml yesod yesod-auth yesod-core yesod-form yesod-gitrepo
|
|
||||||
yesod-gitrev yesod-newsfeed yesod-sitemap yesod-static zlib
|
|
||||||
];
|
|
||||||
libraryToolDepends = [ hpack ];
|
|
||||||
executableHaskellDepends = [
|
|
||||||
aeson amazonka amazonka-core amazonka-s3 auto-update barrier base
|
|
||||||
blaze-html blaze-markup bytestring Cabal classy-prelude
|
|
||||||
classy-prelude-conduit classy-prelude-yesod cmark-gfm conduit
|
|
||||||
conduit-extra containers deepseq directory email-validate esqueleto
|
|
||||||
exceptions fast-logger file-embed filepath formatting ghc-prim
|
|
||||||
haddock-library hashable hoogle html-conduit http-client
|
|
||||||
http-conduit http-types lens monad-logger mono-traversable mtl
|
|
||||||
optparse-applicative pantry path path-pieces persistent
|
|
||||||
persistent-postgresql persistent-sqlite persistent-template process
|
persistent-postgresql persistent-sqlite persistent-template process
|
||||||
resource-pool resourcet retry rio shakespeare streaming-commons
|
resource-pool resourcet retry rio shakespeare streaming-commons
|
||||||
tar-conduit template-haskell text these transformers unliftio
|
tar-conduit template-haskell text these transformers unliftio
|
||||||
@ -56,21 +39,40 @@ mkDerivation {
|
|||||||
xml-types yaml yesod yesod-auth yesod-core yesod-form yesod-gitrepo
|
xml-types yaml yesod yesod-auth yesod-core yesod-form yesod-gitrepo
|
||||||
yesod-gitrev yesod-newsfeed yesod-sitemap yesod-static zlib
|
yesod-gitrev yesod-newsfeed yesod-sitemap yesod-static zlib
|
||||||
];
|
];
|
||||||
|
libraryToolDepends = [ hpack ];
|
||||||
|
executableHaskellDepends = [
|
||||||
|
aeson amazonka amazonka-core amazonka-s3 attoparsec-aeson
|
||||||
|
auto-update barrier base blaze-html blaze-markup bytestring Cabal
|
||||||
|
classy-prelude classy-prelude-conduit classy-prelude-yesod
|
||||||
|
cmark-gfm conduit conduit-extra containers deepseq directory
|
||||||
|
email-validate esqueleto exceptions fast-logger file-embed filepath
|
||||||
|
formatting ghc-prim haddock-library hashable hoogle html-conduit
|
||||||
|
http-client http-conduit http-types lens monad-logger
|
||||||
|
mono-traversable mtl optparse-applicative pantry path path-pieces
|
||||||
|
persistent persistent-postgresql persistent-sqlite
|
||||||
|
persistent-template process resource-pool resourcet retry rio
|
||||||
|
shakespeare streaming-commons tar-conduit template-haskell text
|
||||||
|
these transformers unliftio unordered-containers wai wai-extra
|
||||||
|
wai-logger warp xml-conduit xml-types yaml yesod yesod-auth
|
||||||
|
yesod-core yesod-form yesod-gitrepo yesod-gitrev yesod-newsfeed
|
||||||
|
yesod-sitemap yesod-static zlib
|
||||||
|
];
|
||||||
benchmarkHaskellDepends = [
|
benchmarkHaskellDepends = [
|
||||||
aeson amazonka amazonka-core amazonka-s3 auto-update barrier base
|
aeson amazonka amazonka-core amazonka-s3 attoparsec-aeson
|
||||||
blaze-html blaze-markup bytestring Cabal casa-client classy-prelude
|
auto-update barrier base blaze-html blaze-markup bytestring Cabal
|
||||||
classy-prelude-conduit classy-prelude-yesod cmark-gfm conduit
|
casa-client classy-prelude classy-prelude-conduit
|
||||||
conduit-extra containers deepseq directory email-validate esqueleto
|
classy-prelude-yesod cmark-gfm conduit conduit-extra containers
|
||||||
exceptions fast-logger file-embed filepath formatting gauge
|
deepseq directory email-validate esqueleto exceptions fast-logger
|
||||||
ghc-prim haddock-library hashable hoogle html-conduit http-client
|
file-embed filepath formatting gauge ghc-prim haddock-library
|
||||||
http-conduit http-types lens monad-logger mono-traversable mtl
|
hashable hoogle html-conduit http-client http-conduit http-types
|
||||||
pantry path path-io path-pieces persistent persistent-postgresql
|
lens monad-logger mono-traversable mtl pantry path path-io
|
||||||
persistent-sqlite persistent-template process resource-pool
|
path-pieces persistent persistent-postgresql persistent-sqlite
|
||||||
resourcet retry rio shakespeare streaming-commons tar-conduit
|
persistent-template process resource-pool resourcet retry rio
|
||||||
template-haskell text these transformers unliftio
|
shakespeare streaming-commons tar-conduit template-haskell text
|
||||||
unordered-containers wai wai-extra wai-logger warp xml-conduit
|
these transformers unliftio unordered-containers wai wai-extra
|
||||||
xml-types yaml yesod yesod-auth yesod-core yesod-form yesod-gitrepo
|
wai-logger warp xml-conduit xml-types yaml yesod yesod-auth
|
||||||
yesod-gitrev yesod-newsfeed yesod-sitemap yesod-static zlib
|
yesod-core yesod-form yesod-gitrepo yesod-gitrev yesod-newsfeed
|
||||||
|
yesod-sitemap yesod-static zlib
|
||||||
];
|
];
|
||||||
prePatch = "hpack";
|
prePatch = "hpack";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
|
|||||||
@ -19,17 +19,18 @@ let
|
|||||||
});
|
});
|
||||||
|
|
||||||
# patched, see gen-package-nix.sh
|
# patched, see gen-package-nix.sh
|
||||||
amazonka-core = self.callPackage nix/amazonka-core.nix { };
|
amazonka-core = hlib.doJailbreak (self.callPackage nix/amazonka-core.nix { });
|
||||||
|
amazonka-s3 = hlib.doJailbreak (self.callPackage nix/amazonka-s3.nix { });
|
||||||
|
|
||||||
# We have this old dependency for unexplored reasons.
|
# We have this old dependency for unexplored reasons.
|
||||||
# Tests fail from attempted network access.
|
# Tests fail from attempted network access.
|
||||||
pantry = pkgs.lib.pipe (self.callPackage nix/pantry.nix { }) [hlib.dontCheck hlib.doJailbreak];
|
pantry = pkgs.lib.pipe (self.callPackage nix/pantry.nix { }) [hlib.dontCheck hlib.doJailbreak];
|
||||||
|
|
||||||
# Changing this has operational impacts.
|
# Changing this has operational impacts.
|
||||||
hoogle = self.callPackage nix/hoogle.nix { };
|
hoogle = hlib.doJailbreak (self.callPackage nix/hoogle.nix { });
|
||||||
|
|
||||||
# Outdated breakage? (TODO: upstream)
|
# Outdated breakage? (TODO: upstream)
|
||||||
barrier = hlib.markUnbroken super.barrier;
|
barrier = pkgs.lib.pipe super.barrier [hlib.doJailbreak hlib.markUnbroken];
|
||||||
|
|
||||||
# Tests fail from attempted network access (TODO: upstream)
|
# Tests fail from attempted network access (TODO: upstream)
|
||||||
yesod-gitrev = hlib.markUnbroken (hlib.dontCheck super.yesod-gitrev);
|
yesod-gitrev = hlib.markUnbroken (hlib.dontCheck super.yesod-gitrev);
|
||||||
|
|||||||
@ -11,6 +11,7 @@ flags:
|
|||||||
default: false
|
default: false
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
- attoparsec-aeson
|
||||||
- base
|
- base
|
||||||
- yesod
|
- yesod
|
||||||
- aeson
|
- aeson
|
||||||
|
|||||||
@ -19,6 +19,7 @@ import Conduit
|
|||||||
import Control.DeepSeq
|
import Control.DeepSeq
|
||||||
import Control.SingleRun
|
import Control.SingleRun
|
||||||
import Control.Lens ((?~))
|
import Control.Lens ((?~))
|
||||||
|
import Control.Exception.Lens (trying)
|
||||||
import qualified Data.ByteString.Char8 as BS8
|
import qualified Data.ByteString.Char8 as BS8
|
||||||
import qualified Data.Conduit.Binary as CB
|
import qualified Data.Conduit.Binary as CB
|
||||||
import Data.Conduit.Tar (FileInfo(..), FileType(..), untar)
|
import Data.Conduit.Tar (FileInfo(..), FileType(..), untar)
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
# As this is built on NixOS stable, it has to stay on a GHC that exists on the
|
# As this is built on NixOS stable, it has to stay on a GHC that exists on the
|
||||||
# OS.
|
# OS.
|
||||||
# I.e. changes here need to be synced with changes to
|
# I.e. changes here need to be synced with changes to flake.nix and package.nix.
|
||||||
# https://github.com/haskellfoundation/hf-infrastructure
|
resolver: lts-24.26
|
||||||
resolver: lts-22.43
|
|
||||||
extra-deps:
|
extra-deps:
|
||||||
# WARNING: Changing the hoogle version causes stackage-server-cron to regenerate
|
# WARNING: Changing the hoogle version causes stackage-server-cron to regenerate
|
||||||
# Hoogle databases FOR EVERY SNAPSHOT, EVER. Usually, that's ok! But don't
|
# Hoogle databases FOR EVERY SNAPSHOT, EVER. Usually, that's ok! But don't
|
||||||
@ -17,12 +16,13 @@ extra-deps:
|
|||||||
# waste. (4) Stackage's Hoogle search will be unavailable until the new
|
# waste. (4) Stackage's Hoogle search will be unavailable until the new
|
||||||
# databases have been generated.
|
# databases have been generated.
|
||||||
- hoogle-5.0.18.4@sha256:1372458e97dff541fcda099236af7936bf93ee6b8c5d15695ee6d9426dff5eed,3171
|
- hoogle-5.0.18.4@sha256:1372458e97dff541fcda099236af7936bf93ee6b8c5d15695ee6d9426dff5eed,3171
|
||||||
|
# FIXME: This version of pantry differs from upstream in a way that has not been explored yet.
|
||||||
- git: https://github.com/commercialhaskell/pantry.git
|
- git: https://github.com/commercialhaskell/pantry.git
|
||||||
commit: 5df643cc1deb561d9c52a9cb6f593aba2bc4c08e
|
commit: 5df643cc1deb561d9c52a9cb6f593aba2bc4c08e
|
||||||
# This amazonka includes the unreleased patch to support Cloudflare, which kinda
|
# This amazonka includes the unreleased patch to support Cloudflare, which kinda
|
||||||
# has a bug. See https://github.com/brendanhay/amazonka/issues/975 for details.
|
# has a bug. See https://github.com/brendanhay/amazonka/issues/975 for details.
|
||||||
- github: brendanhay/amazonka
|
- github: brendanhay/amazonka
|
||||||
commit: '85e0289f8dc23c54b00f7f1a09845be7e032a1eb'
|
commit: 'a7d699be1076e2aad05a1930ca3937ffea954ad8'
|
||||||
subdirs: [lib/amazonka-core]
|
subdirs: [lib/amazonka-core]
|
||||||
|
|
||||||
allow-newer: true
|
allow-newer: true
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# This file was autogenerated by Stack.
|
# This file was autogenerated by Stack.
|
||||||
# You should not edit this file by hand.
|
# You should not edit this file by hand.
|
||||||
# For more information, please see the documentation at:
|
# For more information, please see the documentation at:
|
||||||
# https://docs.haskellstack.org/en/stable/lock_files
|
# https://docs.haskellstack.org/en/stable/topics/lock_files
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- completed:
|
- completed:
|
||||||
@ -25,19 +25,19 @@ packages:
|
|||||||
- completed:
|
- completed:
|
||||||
name: amazonka-core
|
name: amazonka-core
|
||||||
pantry-tree:
|
pantry-tree:
|
||||||
sha256: 236fcc48e8d6cdedc31800c40c853aa6cb8c640ae3d93686a584d513679a5181
|
sha256: 37df1b595ccff0c36abdf11635320dc7feb481872197cd2984c7b9176c3bd9d4
|
||||||
size: 3222
|
size: 3222
|
||||||
sha256: 39038d8934ad8ba164e3d21aa227a80a12fbdd4cf371a6311ea8cc95a6265385
|
sha256: 1ee25eb283c2d95fe89c5f559abe0049f6cd0a3b36d768947b85d64ca74d87e0
|
||||||
size: 34733906
|
size: 34859547
|
||||||
subdir: lib/amazonka-core
|
subdir: lib/amazonka-core
|
||||||
url: https://github.com/brendanhay/amazonka/archive/85e0289f8dc23c54b00f7f1a09845be7e032a1eb.tar.gz
|
url: https://github.com/brendanhay/amazonka/archive/a7d699be1076e2aad05a1930ca3937ffea954ad8.tar.gz
|
||||||
version: '2.0'
|
version: '2.0'
|
||||||
original:
|
original:
|
||||||
subdir: lib/amazonka-core
|
subdir: lib/amazonka-core
|
||||||
url: https://github.com/brendanhay/amazonka/archive/85e0289f8dc23c54b00f7f1a09845be7e032a1eb.tar.gz
|
url: https://github.com/brendanhay/amazonka/archive/a7d699be1076e2aad05a1930ca3937ffea954ad8.tar.gz
|
||||||
snapshots:
|
snapshots:
|
||||||
- completed:
|
- completed:
|
||||||
sha256: 08bd13ce621b41a8f5e51456b38d5b46d7783ce114a50ab604d6bbab0d002146
|
sha256: d90eb1418667a225998b173817300e5ae2e1500ed03c0a9457cc2a0e78a0122a
|
||||||
size: 720271
|
size: 726337
|
||||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/43.yaml
|
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/24/26.yaml
|
||||||
original: lts-22.43
|
original: lts-24.26
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user