mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 10:34:54 +00:00
Merge pull request #226000 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
This commit is contained in:
commit
f6fbb68239
@ -58,6 +58,7 @@ sed -r \
|
|||||||
-e '/ distribution-nixpkgs /d' \
|
-e '/ distribution-nixpkgs /d' \
|
||||||
-e '/ jailbreak-cabal /d' \
|
-e '/ jailbreak-cabal /d' \
|
||||||
-e '/ language-nix /d' \
|
-e '/ language-nix /d' \
|
||||||
|
-e '/ hackage-db /d' \
|
||||||
-e '/ cabal-install /d' \
|
-e '/ cabal-install /d' \
|
||||||
-e '/ lsp /d' \
|
-e '/ lsp /d' \
|
||||||
-e '/ lsp-types /d' \
|
-e '/ lsp-types /d' \
|
||||||
|
@ -15,8 +15,29 @@
|
|||||||
# password-command: pass hackage.haskell.org (this can be any command, but not an arbitrary shell expression. Like cabal we only read the first output line and ignore the rest.)
|
# password-command: pass hackage.haskell.org (this can be any command, but not an arbitrary shell expression. Like cabal we only read the first output line and ignore the rest.)
|
||||||
# Those fields are specified under `upload` on the `cabal` man page.
|
# Those fields are specified under `upload` on the `cabal` man page.
|
||||||
|
|
||||||
|
if test -z "$CABAL_DIR"; then
|
||||||
|
dirs=(
|
||||||
|
"$HOME/.cabal"
|
||||||
|
"${XDG_CONFIG_HOME:-$HOME/.config}/cabal"
|
||||||
|
)
|
||||||
|
missing=true
|
||||||
|
|
||||||
|
for dir in "${dirs[@]}"; do
|
||||||
|
if test -d "$dir"; then
|
||||||
|
export CABAL_DIR="$dir"
|
||||||
|
missing=false
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if $missing; then
|
||||||
|
echo "Could not find the cabal configuration directory in any of: ${dirs[@]}" >&2
|
||||||
|
exit 101
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
package_list="$(nix-build -A haskell.package-list)/nixos-hackage-packages.csv"
|
package_list="$(nix-build -A haskell.package-list)/nixos-hackage-packages.csv"
|
||||||
username=$(grep "^username:" ~/.cabal/config | sed "s/^username: //")
|
username=$(grep "^username:" "$CABAL_DIR/config" | sed "s/^username: //")
|
||||||
password_command=$(grep "^password-command:" ~/.cabal/config | sed "s/^password-command: //")
|
password_command=$(grep "^password-command:" "$CABAL_DIR/config" | sed "s/^password-command: //")
|
||||||
curl -u "$username:$($password_command | head -n1)" --digest -H "Content-type: text/csv" -T "$package_list" http://hackage.haskell.org/distro/NixOS/packages.csv
|
curl -u "$username:$($password_command | head -n1)" --digest -H "Content-type: text/csv" -T "$package_list" http://hackage.haskell.org/distro/NixOS/packages.csv
|
||||||
echo
|
echo
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"commit": "a88deb396b19367026b858afe79fa1d0e0c1bc4f",
|
"commit": "88252bfad2741817b521acc02a424b878264bf9f",
|
||||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/a88deb396b19367026b858afe79fa1d0e0c1bc4f.tar.gz",
|
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/88252bfad2741817b521acc02a424b878264bf9f.tar.gz",
|
||||||
"sha256": "04l2jd0shw1aq74nv9hhvdn76bcwp2hsfm8x3frbxllwgkk740s4",
|
"sha256": "00nc417r9xrknhmyjh3rfxlsbchizxicnbp98q63yb5czdapg4bm",
|
||||||
"msg": "Update from Hackage at 2023-04-07T21:49:23Z"
|
"msg": "Update from Hackage at 2023-04-13T09:45:26Z"
|
||||||
}
|
}
|
||||||
|
@ -247,6 +247,9 @@ self: super: {
|
|||||||
ghcjs-base = null;
|
ghcjs-base = null;
|
||||||
ghcjs-prim = null;
|
ghcjs-prim = null;
|
||||||
|
|
||||||
|
# 2023-04-17: https://gitlab.haskell.org/ghc/ghc-debug/-/issues/20
|
||||||
|
ghc-debug-brick = doJailbreak super.ghc-debug-brick;
|
||||||
|
|
||||||
# Needs older QuickCheck version
|
# Needs older QuickCheck version
|
||||||
attoparsec-varword = dontCheck super.attoparsec-varword;
|
attoparsec-varword = dontCheck super.attoparsec-varword;
|
||||||
|
|
||||||
@ -1423,12 +1426,21 @@ self: super: {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
jsaddle-webkit2gtk = overrideCabal (old: {
|
|
||||||
postPatch = old.postPatch or "" + ''
|
|
||||||
sed -i 's/bytestring.*0.11/bytestring/' jsaddle-webkit2gtk.cabal
|
|
||||||
'';
|
|
||||||
}) super.jsaddle-webkit2gtk;
|
|
||||||
|
|
||||||
|
# 2023-04-16: https://github.com/ghcjs/jsaddle/pull/137
|
||||||
|
jsaddle-webkit2gtk = lib.pipe super.jsaddle-webkit2gtk
|
||||||
|
[
|
||||||
|
(appendPatch (fetchpatch {
|
||||||
|
url = "https://github.com/ghcjs/jsaddle/commit/f990366f19d23a8008d482572d52351c1a6f7215.patch";
|
||||||
|
hash = "sha256-IbkJrlyG6q5rqMIhn//Dt3u6T314Pug+mQMwwe0LK5w=";
|
||||||
|
relative = "jsaddle-webkit2gtk";
|
||||||
|
}))
|
||||||
|
(overrideCabal (old: {
|
||||||
|
postPatch = old.postPatch or "" + ''
|
||||||
|
sed -i 's/bytestring.*0.11/bytestring/' jsaddle-webkit2gtk.cabal
|
||||||
|
'';
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
|
||||||
# 2022-03-16: lens bound can be loosened https://github.com/ghcjs/jsaddle-dom/issues/19
|
# 2022-03-16: lens bound can be loosened https://github.com/ghcjs/jsaddle-dom/issues/19
|
||||||
jsaddle-dom = overrideCabal (old: {
|
jsaddle-dom = overrideCabal (old: {
|
||||||
|
@ -473,6 +473,7 @@ broken-packages:
|
|||||||
- brick-dropdownmenu
|
- brick-dropdownmenu
|
||||||
- brick-filetree
|
- brick-filetree
|
||||||
- brick-list-search # failure in job https://hydra.nixos.org/build/211236614 at 2023-03-13
|
- brick-list-search # failure in job https://hydra.nixos.org/build/211236614 at 2023-03-13
|
||||||
|
- brick-list-skip # failure in job https://hydra.nixos.org/build/215850872 at 2023-04-17
|
||||||
- bricks-internal
|
- bricks-internal
|
||||||
- brick-tabular-list
|
- brick-tabular-list
|
||||||
- brillig
|
- brillig
|
||||||
@ -1404,7 +1405,6 @@ broken-packages:
|
|||||||
- eved
|
- eved
|
||||||
- event
|
- event
|
||||||
- event-driven
|
- event-driven
|
||||||
- eventlog2html # failure in job https://hydra.nixos.org/build/214597490 at 2023-04-07
|
|
||||||
- eventsource-api
|
- eventsource-api
|
||||||
- eventsourced
|
- eventsourced
|
||||||
- eventstore
|
- eventstore
|
||||||
@ -1744,7 +1744,6 @@ broken-packages:
|
|||||||
- ghc-clippy-plugin
|
- ghc-clippy-plugin
|
||||||
- ghc-core-smallstep
|
- ghc-core-smallstep
|
||||||
- ghc-datasize
|
- ghc-datasize
|
||||||
- ghc-debug-client
|
|
||||||
- ghc-dump-tree
|
- ghc-dump-tree
|
||||||
- ghc-dup
|
- ghc-dup
|
||||||
- ghc-events-analyze
|
- ghc-events-analyze
|
||||||
@ -3465,6 +3464,7 @@ broken-packages:
|
|||||||
- monoidplus
|
- monoidplus
|
||||||
- monoids
|
- monoids
|
||||||
- monoid-statistics
|
- monoid-statistics
|
||||||
|
- monomer-flatpak-example # failure in job https://hydra.nixos.org/build/215851035 at 2023-04-17
|
||||||
- monopati
|
- monopati
|
||||||
- monus
|
- monus
|
||||||
- monzo
|
- monzo
|
||||||
@ -3742,6 +3742,7 @@ broken-packages:
|
|||||||
- opaleye-trans
|
- opaleye-trans
|
||||||
- open-adt
|
- open-adt
|
||||||
- OpenAFP
|
- OpenAFP
|
||||||
|
- openai-hs # failure building library in job https://hydra.nixos.org/build/215850908 at 2023-04-17
|
||||||
- openapi3
|
- openapi3
|
||||||
- openapi3-code-generator
|
- openapi3-code-generator
|
||||||
- openapi-petstore
|
- openapi-petstore
|
||||||
@ -3985,6 +3986,7 @@ broken-packages:
|
|||||||
- pg-store
|
- pg-store
|
||||||
- pgstream
|
- pgstream
|
||||||
- pg-transact
|
- pg-transact
|
||||||
|
- pgvector # failure in job https://hydra.nixos.org/build/215851675 at 2023-04-17
|
||||||
- phasechange
|
- phasechange
|
||||||
- phaser
|
- phaser
|
||||||
- phoityne
|
- phoityne
|
||||||
|
@ -46,6 +46,8 @@ default-package-overrides:
|
|||||||
- pandoc-crossref < 0.3.15.0
|
- pandoc-crossref < 0.3.15.0
|
||||||
# Needs to match hspec which is tracked in stackage
|
# Needs to match hspec which is tracked in stackage
|
||||||
- hspec-api < 2.10
|
- hspec-api < 2.10
|
||||||
|
# 2023-04-13: latest version requires ghc-events >= 0.19 but it's not on LTS yet
|
||||||
|
- eventlog2html < 0.10
|
||||||
|
|
||||||
extra-packages:
|
extra-packages:
|
||||||
- Cabal == 2.2.* # required for jailbreak-cabal etc.
|
- Cabal == 2.2.* # required for jailbreak-cabal etc.
|
||||||
@ -269,7 +271,10 @@ package-maintainers:
|
|||||||
- clay
|
- clay
|
||||||
- ema
|
- ema
|
||||||
- emanote
|
- emanote
|
||||||
|
- eventlog2html
|
||||||
- generic-optics
|
- generic-optics
|
||||||
|
- ghc-debug-brick
|
||||||
|
- ghc-debug-stub
|
||||||
- ghcid
|
- ghcid
|
||||||
- graphql-client
|
- graphql-client
|
||||||
- haskell-language-server
|
- haskell-language-server
|
||||||
|
@ -1002,7 +1002,6 @@ default-package-overrides:
|
|||||||
- gtk-strut ==0.1.3.2
|
- gtk-strut ==0.1.3.2
|
||||||
- guarded-allocation ==0.0.1
|
- guarded-allocation ==0.0.1
|
||||||
- hackage-cli ==0.0.3.6
|
- hackage-cli ==0.0.3.6
|
||||||
- hackage-db ==2.1.2
|
|
||||||
- hackage-security ==0.6.2.3
|
- hackage-security ==0.6.2.3
|
||||||
- haddock-library ==1.10.0
|
- haddock-library ==1.10.0
|
||||||
- hakyll ==4.15.1.1
|
- hakyll ==4.15.1.1
|
||||||
|
@ -933,6 +933,7 @@ dont-distribute-packages:
|
|||||||
- categorical-algebra
|
- categorical-algebra
|
||||||
- category
|
- category
|
||||||
- category-extras
|
- category-extras
|
||||||
|
- cattrap
|
||||||
- cctools-workqueue
|
- cctools-workqueue
|
||||||
- cef3-simple
|
- cef3-simple
|
||||||
- ceilometer-common
|
- ceilometer-common
|
||||||
|
882
pkgs/development/haskell-modules/hackage-packages.nix
generated
882
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user