Merge pull request #307204 from NixOS/haskell-updates

haskellPackages: update stackage and hackage
This commit is contained in:
Naïm Favier 2024-05-15 14:52:03 +02:00 committed by GitHub
commit c029b7f004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
26 changed files with 2031 additions and 754 deletions

View File

@ -230,7 +230,7 @@ completely incompatible with packages from `haskellPackages`.
Every haskell package set has its own haskell-aware `mkDerivation` which is used
to build its packages. Generally you won't have to interact with this builder
since [cabal2nix][cabal2nix] can generate packages
since [cabal2nix](#haskell-cabal2nix) can generate packages
using it for an arbitrary cabal package definition. Still it is useful to know
the parameters it takes when you need to
[override](#haskell-overriding-haskell-packages) a generated Nix expression.
@ -1123,18 +1123,75 @@ for [this to work][optparse-applicative-completions].
Note that this feature is automatically disabled when cross-compiling, since it
requires executing the binaries in question.
## Import-from-Derivation helpers {#haskell-import-from-derivation}
### cabal2nix {#haskell-cabal2nix}
[`cabal2nix`][cabal2nix] can generate Nix package definitions for arbitrary
Haskell packages using [import from derivation][import-from-derivation].
`cabal2nix` will generate Nix expressions that look like this:
```nix
# cabal get mtl-2.2.1 && cd mtl-2.2.1 && cabal2nix .
{ mkDerivation, base, lib, transformers }:
mkDerivation {
pname = "mtl";
version = "2.2.1";
src = ./.;
libraryHaskellDepends = [ base transformers ];
homepage = "http://github.com/ekmett/mtl";
description = "Monad classes, using functional dependencies";
license = lib.licenses.bsd3;
}
```
This expression should be called with `haskellPackages.callPackage`, which will
supply [`haskellPackages.mkDerivation`](#haskell-mkderivation) and the Haskell
dependencies as arguments.
`callCabal2nix name src args`
: Create a package named `name` from the source derivation `src` using
`cabal2nix`.
`args` are extra arguments provided to `haskellPackages.callPackage`.
`callCabal2nixWithOptions name src opts args`
: Create a package named `name` from the source derivation `src` using
`cabal2nix`.
`opts` are extra options for calling `cabal2nix`. If `opts` is a string, it
will be used as extra command line arguments for `cabal2nix`, e.g. `--subpath
path/to/dir/containing/cabal-file`. Otherwise, `opts` should be an AttrSet
which can contain the following attributes:
`extraCabal2nixOptions`
: Extra command line arguments for `cabal2nix`.
`srcModifier`
: A function which is used to modify the given `src` instead of the default
filter.
The default source filter will remove all files from `src` except for
`.cabal` files and `package.yaml` files.
<!--
`callHackage`
: TODO
`callHackageDirect`
: TODO
`developPackage`
: TODO
-->
<!--
TODO(@NixOS/haskell): finish these planned sections
### Overriding the entire package set
## Import-from-Derivation helpers
* `callCabal2nix`
* `callHackage`, `callHackageDirect`
* `developPackage`
## Contributing {#haskell-contributing}
### Fixing a broken package {#haskell-fixing-a-broken-package}
@ -1309,3 +1366,4 @@ relevant.
[profiling]: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html
[search.nixos.org]: https://search.nixos.org
[turtle]: https://hackage.haskell.org/package/turtle
[import-from-derivation]: https://nixos.org/manual/nix/stable/language/import-from-derivation

View File

@ -1,6 +1,6 @@
{
"commit": "4eb9a5fde06b5d7343665582243debaf1d77e0a9",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/4eb9a5fde06b5d7343665582243debaf1d77e0a9.tar.gz",
"sha256": "0dzyfr1gv79riy2vh840b5hqly8rs10zhj01zi9nfn7jd9pzql28",
"msg": "Update from Hackage at 2024-04-16T17:36:35Z"
"commit": "9e419b038d7108160caf4efc41ebd5dfc4d51821",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/9e419b038d7108160caf4efc41ebd5dfc4d51821.tar.gz",
"sha256": "1vqsxznsq6s1hfb3b7ghs0fqa1rapqccjcz5jy3h9w3dq4v3gfqz",
"msg": "Update from Hackage at 2024-04-27T10:57:54Z"
}

View File

@ -0,0 +1,4 @@
import ./common-hadrian.nix rec {
version = "9.10.1";
sha256 = "bf386a302d4ee054791ffd51748900f15d71760fd199157922d120cc1f89e2f7";
}

View File

@ -29,6 +29,7 @@
, xattr
, autoSignDarwinBinariesHook
, bash
, srcOnly
, libiconv ? null, ncurses
, glibcLocales ? null
@ -145,25 +146,60 @@
return $ verbosity >= Verbose
''
, ghcSrc ? (if rev != null then fetchgit else fetchurl) ({
inherit url sha256;
} // lib.optionalAttrs (rev != null) {
inherit rev;
} // lib.optionalAttrs (postFetch != null) {
inherit postFetch;
})
, ghcSrc ?
srcOnly {
name = "ghc-${version}"; # -source appended by srcOnly
src =
(if rev != null then fetchgit else fetchurl) ({
inherit url sha256;
} // lib.optionalAttrs (rev != null) {
inherit rev;
} // lib.optionalAttrs (postFetch != null) {
inherit postFetch;
});
patches =
let
# Disable haddock generating pretty source listings to stay under 3GB on aarch64-linux
enableHyperlinkedSource =
lib.versionAtLeast version "9.8" ||
!(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux);
in
[
# Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
(if lib.versionAtLeast version "9.8"
then ./docs-sphinx-7-ghc98.patch
else ./docs-sphinx-7.patch )
]
++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
# Prevent the paths module from emitting symbols that we don't use
# when building with separate outputs.
#
# These cause problems as they're not eliminated by GHC's dead code
# elimination on aarch64-darwin. (see
# https://github.com/NixOS/nixpkgs/issues/140774 for details).
./Cabal-at-least-3.6-paths-fix-cycle-aarch64-darwin.patch
]
# Prevents passing --hyperlinked-source to haddock. This is a custom
# workaround as we wait for this to be configurable via userSettings or
# similar. https://gitlab.haskell.org/ghc/ghc/-/issues/23625
++ lib.optionals (!enableHyperlinkedSource) [
# TODO(@sternenseemann): Doesn't apply for GHC >= 9.8
../../tools/haskell/hadrian/disable-hyperlinked-source.patch
]
# Incorrect bounds on Cabal in hadrian
# https://gitlab.haskell.org/ghc/ghc/-/issues/24100
++ lib.optionals (lib.elem version [ "9.8.1" "9.8.2" ]) [
../../tools/haskell/hadrian/hadrian-9.8.1-allow-Cabal-3.10.patch
];
}
# GHC's build system hadrian built from the GHC-to-build's source tree
# using our bootstrap GHC.
, hadrian ? import ../../tools/haskell/hadrian/make-hadrian.nix { inherit bootPkgs lib; } {
ghcSrc = ghcSrc;
inherit ghcSrc;
ghcVersion = version;
userSettings = hadrianUserSettings;
# Disable haddock generating pretty source listings to stay under 3GB on aarch64-linux
enableHyperlinkedSource =
# TODO(@sternenseemann): Disabling currently doesn't work with GHC >= 9.8
lib.versionAtLeast version "9.8" ||
!(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux);
}
, # Whether to build sphinx documentation.
@ -269,21 +305,6 @@ stdenv.mkDerivation ({
enableParallelBuilding = true;
patches = [
# Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
(if lib.versionAtLeast version "9.8"
then ./docs-sphinx-7-ghc98.patch
else ./docs-sphinx-7.patch )
] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
# Prevent the paths module from emitting symbols that we don't use
# when building with separate outputs.
#
# These cause problems as they're not eliminated by GHC's dead code
# elimination on aarch64-darwin. (see
# https://github.com/NixOS/nixpkgs/issues/140774 for details).
./Cabal-at-least-3.6-paths-fix-cycle-aarch64-darwin.patch
];
postPatch = ''
patchShebangs --build .
'';

View File

@ -732,7 +732,6 @@ self: super: {
Rlang-QQ = dontCheck super.Rlang-QQ;
safecopy = dontCheck super.safecopy;
sai-shape-syb = dontCheck super.sai-shape-syb;
saltine = dontCheck super.saltine; # https://github.com/tel/saltine/pull/56
scp-streams = dontCheck super.scp-streams;
sdl2 = dontCheck super.sdl2; # the test suite needs an x server
separated = dontCheck super.separated;
@ -752,6 +751,7 @@ self: super: {
translatable-intset = dontCheck super.translatable-intset;
ua-parser = dontCheck super.ua-parser;
unagi-chan = dontCheck super.unagi-chan;
universe-some = dontCheck super.universe-some;
wai-logger = dontCheck super.wai-logger;
WebBits = dontCheck super.WebBits; # http://hydra.cryp.to/build/499604/log/raw
webdriver = dontCheck super.webdriver;
@ -1304,9 +1304,6 @@ self: super: {
# https://github.com/haskell/hoopl/issues/50
hoopl = dontCheck super.hoopl;
# Generate shell completion for spago
spago = self.generateOptparseApplicativeCompletions [ "spago" ] super.spago;
# https://github.com/DanielG/cabal-helper/pull/123
cabal-helper = doJailbreak super.cabal-helper;
@ -1345,11 +1342,21 @@ self: super: {
(dontCheckIf (!pkgs.postgresql.doCheck))
];
# Requires pqueue <1.5 but it works fine with pqueue-1.5.0.0
# https://github.com/haskell-beam/beam/pull/705
beam-migrate = doJailbreak super.beam-migrate;
users-postgresql-simple = addTestToolDepends [
pkgs.postgresql
pkgs.postgresqlTestHook
] super.users-postgresql-simple;
# Need https://github.com/obsidiansystems/gargoyle/pull/45
gargoyle = doJailbreak super.gargoyle;
gargoyle-postgresql = doJailbreak super.gargoyle-postgresql;
gargoyle-postgresql-nix = doJailbreak (addBuildTool [pkgs.postgresql] super.gargoyle-postgresql-nix);
gargoyle-postgresql-connect = doJailbreak super.gargoyle-postgresql-connect;
# PortMidi needs an environment variable to have ALSA find its plugins:
# https://github.com/NixOS/nixpkgs/issues/6860
PortMidi = overrideCabal (drv: {
@ -1379,8 +1386,6 @@ self: super: {
# Fix build with attr-2.4.48 (see #53716)
xattr = appendPatch ./patches/xattr-fix-build.patch super.xattr;
patch = dontCheck super.patch;
esqueleto =
overrideCabal
(drv: {
@ -1530,11 +1535,6 @@ self: super: {
# 2021-12-26: Too strict bounds on doctest
polysemy-plugin = doJailbreak super.polysemy-plugin;
# hasnt bumped upper bounds
# upstream: https://github.com/obsidiansystems/which/pull/6
which = doJailbreak super.which;
# 2024-02-28: The Hackage version dhall-lsp-server-1.1.3 requires
# lsp-1.4.0.0 which is hard to build with this LTS. However, the latest
# git version of dhall-lsp-server works with lsp-2.1.0.0, and only
@ -1561,13 +1561,11 @@ self: super: {
doJailbreak
];
# 2022-03-16: lens bound can be loosened https://github.com/ghcjs/jsaddle-dom/issues/19
jsaddle-dom = overrideCabal (old: {
postPatch = old.postPatch or "" + ''
sed -i 's/lens.*4.20/lens/' jsaddle-dom.cabal
rm Setup.hs
'';
}) (doJailbreak super.jsaddle-dom);
}) super.jsaddle-dom;
jsaddle-hello = doJailbreak super.jsaddle-hello;
ghcjs-dom-hello = doJailbreak super.ghcjs-dom-hello;
@ -1833,9 +1831,6 @@ self: super: {
# https://github.com/adnelson/semver-range/issues/15
semver-range = dontCheck super.semver-range;
# https://github.com/obsidiansystems/dependent-sum/issues/55
dependent-sum = doJailbreak super.dependent-sum;
# 2022-06-19: Disable checks because of https://github.com/reflex-frp/reflex/issues/475
reflex = doJailbreak (dontCheck super.reflex);
@ -2063,18 +2058,31 @@ self: super: {
# Issue reported upstream, no bug tracker url yet.
darcs = doJailbreak super.darcs;
# Too strict version bounds on cryptonite and github.
# PRs are merged, will be fixed next release or Hackage revision.
nix-thunk = appendPatches [
(fetchpatch {
url = "https://github.com/obsidiansystems/nix-thunk/commit/49d27a85dd39cd9413c99958c67e596756a502b5.patch";
sha256 = "1p1n0123yrbdqyfk4kx3gq6bdv65l1bxgbsg51ckcwclg54xp2p5";
})
(fetchpatch {
url = "https://github.com/obsidiansystems/nix-thunk/commit/512867c651977265d5d8f456b538f7a364ec8a8b.patch";
sha256 = "121yg26y4g28k8xv7y1j6c3pxm17vsjn3vi62kkc8g928c47yd02";
})
] super.nix-thunk;
# Need https://github.com/obsidiansystems/cli-extras/pull/12 and more
cli-extras = doJailbreak super.cli-extras;
# https://github.com/obsidiansystems/cli-git/pull/7 turned into a flat patch
cli-git = lib.pipe super.cli-git [
(appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/cli-git/commit/be378a97e2f46522174231b77c952f759df3fad6.patch";
sha256 = "sha256-6RrhqkKpnb+FTHxccHNx6pdC7ClfqcJ2eoo+W7h+JUo=";
excludes = [ ".github/**" ];
}))
doJailbreak
(addBuildTool pkgs.git)
];
# Need https://github.com/obsidiansystems/cli-nix/pull/5 and more
cli-nix = addBuildTools [
pkgs.nix
pkgs.nix-prefetch-git
] (doJailbreak super.cli-nix);
# https://github.com/obsidiansystems/nix-thunk/pull/51/
nix-thunk = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/nix-thunk/commit/c3dc3e799e8ce7756330f98b9f73f59c4b7a5502.patch";
sha256 = "sha256-C1ii1FXiCPFfw5NzyQZ0cEG6kIYGohVsnHycpYEJ24Q=";
}) (doJailbreak super.nix-thunk);
# list `modbus` in librarySystemDepends, correct to `libmodbus`
libmodbus = doJailbreak (addExtraLibrary pkgs.libmodbus super.libmodbus);
@ -2087,9 +2095,14 @@ self: super: {
ginger = doJailbreak super.ginger;
# Too strict version bounds on cryptonite
# https://github.com/obsidiansystems/haveibeenpwned/issues/7
haveibeenpwned = doJailbreak super.haveibeenpwned;
# 2024-05-05 syntax changes: https://github.com/obsidiansystems/haveibeenpwned/pull/9
haveibeenpwned = appendPatch
(fetchpatch {
url = "https://github.com/obsidiansystems/haveibeenpwned/pull/9/commits/14c134eec7de12f755b2d4667727762a8a1a6476.patch";
sha256 = "sha256-fau5+b6tufJ+MscrLgbYvvBsekPe8R6QAy/4H31dcQ4";
})
(doJailbreak super.haveibeenpwned);
# Too strict version bounds on ghc-events
# https://github.com/mpickering/hs-speedscope/issues/16
@ -2172,11 +2185,6 @@ self: super: {
compiler: ${self.ghc.haskellCompilerName}
core-packages:
# Hack: The following package is a core package of GHCJS. If we don't declare
# it, then hackage2nix will generate a Hackage database where all dependants
# of this library are marked as "broken".
- ghcjs-base-0
EOF
ghc-pkg list \
@ -2599,8 +2607,30 @@ self: super: {
# 2022-03-16: Upstream stopped updating bounds https://github.com/haskell-hvr/base-noprelude/pull/15
base-noprelude = doJailbreak super.base-noprelude;
# 2022-03-16: Bounds need to be loosened https://github.com/obsidiansystems/dependent-sum-aeson-orphans/issues/10
dependent-sum-aeson-orphans = doJailbreak super.dependent-sum-aeson-orphans;
# 2025-05-05: Bounds need to be loosened https://github.com/obsidiansystems/dependent-sum-aeson-orphans/pull/13
dependent-monoidal-map = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/dependent-monoidal-map/commit/3f8be15fa9bd2796d1c917e9f0979b4d6c62cf91.patch";
hash = "sha256-QKDUh4jO8xZrThrkjTVNnkoVY+GejxOhpXOVA4+n1H8=";
}) super.dependent-monoidal-map;
# 2025-05-05: Bounds need to be loosened https://github.com/obsidiansystems/dependent-sum-aeson-orphans/pull/13
dependent-sum-aeson-orphans = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/dependent-sum-aeson-orphans/commit/9b4698154303a9865d7d68a2f01d280a8a39f108.patch";
hash = "sha256-Pzjl2yp01XsYWcyhpLnsuccg7bOACgv+RpafauUox8c=";
}) super.dependent-sum-aeson-orphans;
# https://github.com/obsidiansystems/dependent-sum/pull/73
dependent-sum-template = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/dependent-sum/commit/619727ba1792e39a68d23c62e75a923672e87a54.patch";
hash = "sha256-SyD1/KrX1KUjrR82fvI+BRcqLC2Q3AbvSeKNrdGstjg=";
relative = "dependent-sum-template";
}) super.dependent-sum-template;
aeson-gadt-th = appendPatch (fetchpatch {
url = "https://github.com/obsidiansystems/aeson-gadt-th/commit/8f6922a6440019dece637d73d70766c473bcd6c0.patch";
hash = "sha256-564DhfiubwNV8nAj8L5DzsWn4MdzqqaYYNmOSPUa7ys=";
excludes = [ ".github/**" ];
}) super.aeson-gadt-th;
# Too strict bounds on chell: https://github.com/fpco/haskell-filesystem/issues/24
system-fileio = doJailbreak super.system-fileio;
@ -2617,12 +2647,27 @@ self: super: {
# https://github.com/ngless-toolkit/ngless/issues/152
NGLess = dontCheck super.NGLess;
# Raise version bounds for hspec
# Raise version bounds: https://github.com/well-typed/lens-sop/pull/4
lens-sop = appendPatches [
(fetchpatch {
url = "https://github.com/well-typed/lens-sop/commit/d8657f27c12191a7c0a91701c0fcd9a590e0090e.patch";
sha256 = "sha256-9ODfbOb6Bs3EVTY9b7cUvkNmqzzZPWUmgmlAneaN3Tw=";
})
(fetchpatch {
url = "https://github.com/well-typed/lens-sop/commit/b7ecffdeb836d19373871659e2f8cd24da6f7312.patch";
sha256 = "sha256-hDUQ2fW9Qyom65YvtW9bsbz7XtueRmdsAbAB42D+gu4=";
})
] super.lens-sop;
# Raise version bounds: https://github.com/kosmikus/records-sop/pull/15
records-sop = appendPatch (fetchpatch {
url = "https://github.com/kosmikus/records-sop/pull/11/commits/d88831388ab3041190130fec3cdd679a4217b3c7.patch";
sha256 = "sha256-O+v/OxvqnlWX3HaDvDIBZnJ+Og3xs/SJqI3gaouU3ZI=";
url = "https://github.com/kosmikus/records-sop/commit/fb149f453a816ff14d0cb20b3ea56b80ff49d9f1.patch";
sha256 = "sha256-iHiF4EWL/GjJFnr/6aR+yMZKLMLAZK+gsgSxG8YaeDI=";
}) super.records-sop;
# Need https://github.com/well-typed/large-records/pull/151
large-generics = doJailbreak super.large-generics;
# Fix build failures for ghc 9 (https://github.com/mokus0/polynomial/pull/20)
polynomial = appendPatch (fetchpatch {
name = "haskell-polynomial.20.patch";
@ -2935,7 +2980,7 @@ self: super: {
# Requires a newer zlib version than stackage provides
futhark = super.futhark.override {
zlib = self.zlib_0_7_0_0;
zlib = self.zlib_0_7_1_0;
};
# Tests rely on (missing) submodule
@ -2989,6 +3034,14 @@ self: super: {
# 2024-03-25: HSH broken because of the unix-2.8.0.0 breaking change
HSH = appendPatches [./patches/HSH-unix-openFd.patch] super.HSH;
# Support unix < 2.8 to build in older ghc than 9.6
linux-namespaces = appendPatch
(fetchpatch {
url = "https://github.com/redneb/hs-linux-namespaces/commit/f4a3546541bb6c7172fdd03e177a961da60e3951.patch";
sha256 = "sha256-6Qv7NWIbzR3ktMGFogw5597bIqPH7Z4hoFvvBQAoquY=";
})
super.linux-namespaces;
inherit
(let
unbreakRepa = packageName: drv: lib.pipe drv [
@ -3047,4 +3100,11 @@ self: super: {
# Too strict bounds on text. Can be removed after https://github.com/alx741/currencies/pull/3 is merged
currencies = doJailbreak super.currencies;
# https://github.com/awakesecurity/proto3-wire/pull/104
proto3-wire = appendPatch (pkgs.fetchpatch {
url = "https://github.com/awakesecurity/proto3-wire/commit/c1cadeb5fca2e82c5b28e2811c01f5b37eb21ed8.patch";
hash = "sha256-tFOWpjGmZANC7H82QapZ36raaNWuZ6F3BgjxnfTXpMs=";
}) super.proto3-wire;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -316,6 +316,13 @@ self: super: ({
# Tests fail on macOS https://github.com/mrkkrp/zip/issues/112
zip = dontCheck super.zip;
# cabal lib set as unbuildable in linux so callCabal2nix generates a dummy derivation
jsaddle-wkwebview = overrideCabal (drv: {
libraryFrameworkDepends = with pkgs.buildPackages.darwin.apple_sdk.frameworks; [ Cocoa WebKit ];
libraryHaskellDepends = with self; [ aeson data-default jsaddle ];
}) super.jsaddle-wkwebview;
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
# https://github.com/fpco/unliftio/issues/87

View File

@ -82,9 +82,6 @@ self: super: {
base-noprelude = doJailbreak super.base-noprelude;
unliftio-core = doJailbreak super.unliftio-core;
# Jailbreaking because monoidal-containers hasnt bumped it's base dependency for 8.10.
monoidal-containers = doJailbreak super.monoidal-containers;
# Jailbreak to fix the build.
brick = doJailbreak super.brick;
exact-pi = doJailbreak super.exact-pi;

View File

@ -180,6 +180,16 @@ self: super: {
sha256 = "sha256-b7u9GiIAd2xpOrM0MfILHNb6Nt7070lNRIadn2l3DfQ=";
})];
}) super.ConfigFile;
# This runs into the following GHC bug currently affecting 9.6.* and 9.8.* as
# well as 9.10.1: https://gitlab.haskell.org/ghc/ghc/-/issues/24432
inherit (lib.mapAttrs (_: overrideCabal (drv: {
badPlatforms = drv.badPlatforms or [ ] ++ [ "aarch64-linux" ];
})) super)
mueval
lambdabot
lambdabot-haskell-plugins
;
}
# super.ghc is required to break infinite recursion as Nix is strict in the attrNames
// lib.optionalAttrs (pkgs.stdenv.hostPlatform.isAarch64 && lib.versionOlder super.ghc.version "9.6.4") {

View File

@ -88,10 +88,14 @@ self: super: {
#
blaze-svg = doJailbreak super.blaze-svg; # base <4.19
commutative-semigroups = doJailbreak super.commutative-semigroups; # base < 4.19
dependent-sum-template = doJailbreak super.dependent-sum-template_0_2_0_1; # template-haskell < 2.21
diagrams-lib = doJailbreak super.diagrams-lib; # base <4.19, text <2.1
diagrams-postscript = doJailbreak super.diagrams-postscript; # base <4.19, bytestring <0.12
diagrams-svg = doJailbreak super.diagrams-svg; # base <4.19, text <2.1
generics-sop = doJailbreak super.generics-sop_0_5_1_4; # th-abstraction >=0.6 && <0.7
ghc-trace-events = doJailbreak super.ghc-trace-events; # text < 2.1, bytestring < 0.12, base < 4.19
hashing = doJailbreak super.hashing; # bytestring <0.12
json-sop = doJailbreak super.json-sop; # aeson <2.2, base <4.19, text <2.1
primitive-unlifted = doJailbreak super.primitive-unlifted; # bytestring < 0.12
statestack = doJailbreak super.statestack; # base < 4.19
newtype-generics = doJailbreak super.newtype-generics; # base < 4.19
@ -102,10 +106,12 @@ self: super: {
terminfo_0_4_1_6 = doJailbreak super.terminfo_0_4_1_6;
HaskellNet-SSL = doJailbreak super.HaskellNet-SSL; # bytestring >=0.9 && <0.12
raven-haskell = doJailbreak super.raven-haskell; # aeson <2.2
saltine = doJailbreak super.saltine; # bytestring && <0.12, deepseq <1.5, text > 1.2 && <1.3 || >=2.0 && <2.1
stripe-concepts = doJailbreak super.stripe-concepts; # text >=1.2.5 && <1.3 || >=2.0 && <2.1
stripe-signature = doJailbreak super.stripe-signature; # text >=1.2.5 && <1.3 || >=2.0 && <2.1
string-random = doJailbreak super.string-random; # text >=1.2.2.1 && <2.1
inflections = doJailbreak super.inflections; # text >=0.2 && <2.1
universe-some = doJailbreak super.universe-some; # th-abstraction < 0.7
#
# Test suite issues
@ -131,4 +137,14 @@ self: super: {
})
super.libmpd;
# Loosen bounds
patch = appendPatch (pkgs.fetchpatch {
url = "https://github.com/reflex-frp/patch/commit/91fed138483a7bf2b098d45b9e5cc36191776320.patch";
sha256 = "sha256-/KLfIshia88lU5G/hA7ild7+a2mqc7qgSa9AEBqEqkQ=";
}) super.patch;
reflex = appendPatch (pkgs.fetchpatch {
url = "https://github.com/reflex-frp/reflex/commit/0ac53ca3eab2649dd3f3edc585e10af8d13b28cd.patch";
sha256 = "sha256-umjwgdSKebJdRrXjwHhsi8HBqotx1vFibY9ttLkyT/0=";
}) super.reflex;
}

View File

@ -26,7 +26,7 @@ self: super:
# GHCJS does not ship with the same core packages as GHC.
# https://github.com/ghcjs/ghcjs/issues/676
stm = doJailbreak self.stm_2_5_3_0;
stm = doJailbreak self.stm_2_5_3_1;
exceptions = dontCheck self.exceptions_0_10_7;
## OTHER PACKAGES

View File

@ -38,6 +38,7 @@ broken-packages:
- acme-memorandom # failure in job https://hydra.nixos.org/build/233222926 at 2023-09-02
- acme-miscorder # failure in job https://hydra.nixos.org/build/233209957 at 2023-09-02
- acme-mutable-package # failure in job https://hydra.nixos.org/build/233213349 at 2023-09-02
- acme-not-a-joke # failure in job https://hydra.nixos.org/build/259604911 at 2024-05-15
- acme-now # failure in job https://hydra.nixos.org/build/233243289 at 2023-09-02
- acme-numbersystem # failure in job https://hydra.nixos.org/build/233208106 at 2023-09-02
- acme-operators # failure in job https://hydra.nixos.org/build/233248282 at 2023-09-02
@ -83,7 +84,6 @@ broken-packages:
- aeson-flat # failure in job https://hydra.nixos.org/build/233220787 at 2023-09-02
- aeson-flatten # failure in job https://hydra.nixos.org/build/233242954 at 2023-09-02
- aeson-flowtyped # failure in job https://hydra.nixos.org/build/233245878 at 2023-09-02
- aeson-gadt-th # failure in job https://hydra.nixos.org/build/233247060 at 2023-09-02
- aeson-generics-typescript # failure in job https://hydra.nixos.org/build/245703304 at 2024-01-07
- aeson-injector # failure in job https://hydra.nixos.org/build/233200351 at 2023-09-02
- aeson-json-ast # failure in job https://hydra.nixos.org/build/233249406 at 2023-09-02
@ -369,7 +369,6 @@ broken-packages:
- bash # failure in job https://hydra.nixos.org/build/252719390 at 2024-03-16
- basic-gps # failure in job https://hydra.nixos.org/build/252718385 at 2024-03-16
- basics # failure in job https://hydra.nixos.org/build/236678238 at 2023-10-04
- basic-sop # failure in job https://hydra.nixos.org/build/233253357 at 2023-09-02
- baskell # failure in job https://hydra.nixos.org/build/233246705 at 2023-09-02
- battlenet # failure in job https://hydra.nixos.org/build/233260076 at 2023-09-02
- battleplace # failure in job https://hydra.nixos.org/build/233230199 at 2023-09-02
@ -381,7 +380,6 @@ broken-packages:
- bdo # failure in job https://hydra.nixos.org/build/233216486 at 2023-09-02
- beamable # failure in job https://hydra.nixos.org/build/233211619 at 2023-09-02
- beam # failure in job https://hydra.nixos.org/build/233213313 at 2023-09-02
- beam-migrate # failure in job https://hydra.nixos.org/build/252730758 at 2024-03-16
- beam-mysql # failure in job https://hydra.nixos.org/build/233253237 at 2023-09-02
- beam-newtype-field # failure in job https://hydra.nixos.org/build/233206317 at 2023-09-02
- bech32 # failure in job https://hydra.nixos.org/build/233194823 at 2023-09-02
@ -707,7 +705,6 @@ broken-packages:
- cayene-lpp # failure in job https://hydra.nixos.org/build/233228959 at 2023-09-02
- cayley-client # failure in job https://hydra.nixos.org/build/233260112 at 2023-09-02
- cblrepo # failure in job https://hydra.nixos.org/build/233251926 at 2023-09-02
- cbor-tool # failure in job https://hydra.nixos.org/build/233198797 at 2023-09-02
- CCA # failure in job https://hydra.nixos.org/build/233206723 at 2023-09-02
- ccast # failure in job https://hydra.nixos.org/build/233254517 at 2023-09-02
- CC-delcont-cxe # failure in job https://hydra.nixos.org/build/233190865 at 2023-09-02
@ -740,6 +737,7 @@ broken-packages:
- changelog-d # failure in job https://hydra.nixos.org/build/253689337 at 2024-03-31
- changelog-d # failure in job https://hydra.nixos.org/build/255671571 at 2024-04-16
- changelog-d # failure in job https://hydra.nixos.org/build/257082502 at 2024-04-27
- changelog-d # failure in job https://hydra.nixos.org/build/259607598 at 2024-05-15
- changelogged # failure in job https://hydra.nixos.org/build/233211675 at 2023-09-02
- character-cases # failure in job https://hydra.nixos.org/build/233197636 at 2023-09-02
- charter # failure in job https://hydra.nixos.org/build/233237264 at 2023-09-02
@ -805,7 +803,6 @@ broken-packages:
- clevercss # failure in job https://hydra.nixos.org/build/233206298 at 2023-09-02
- clexer # failure in job https://hydra.nixos.org/build/233229804 at 2023-09-02
- cli-builder # failure in job https://hydra.nixos.org/build/233209961 at 2023-09-02
- cli-extras # failure in job https://hydra.nixos.org/build/233226908 at 2023-09-02
- CLI # failure in job https://hydra.nixos.org/build/233191087 at 2023-09-02
- clif # failure in job https://hydra.nixos.org/build/233197110 at 2023-09-02
- clifm # failure in job https://hydra.nixos.org/build/233227426 at 2023-09-02
@ -1006,6 +1003,7 @@ broken-packages:
- core-haskell # failure in job https://hydra.nixos.org/build/233222588 at 2023-09-02
- corenlp-types # failure in job https://hydra.nixos.org/build/243808366 at 2024-01-01
- core-warn # failure in job https://hydra.nixos.org/build/233204404 at 2023-09-02
- cornelis # failure in job https://hydra.nixos.org/build/259604220 at 2024-05-15
- Coroutine # failure in job https://hydra.nixos.org/build/233211213 at 2023-09-02
- coroutine-object # failure in job https://hydra.nixos.org/build/233220413 at 2023-09-02
- couchdb-conduit # failure in job https://hydra.nixos.org/build/233227244 at 2023-09-02
@ -1233,7 +1231,6 @@ broken-packages:
- dense-int-set # failure in job https://hydra.nixos.org/build/233214797 at 2023-09-02
- dependency # failure in job https://hydra.nixos.org/build/252727325 at 2024-03-16
- dependent-hashmap # failure in job https://hydra.nixos.org/build/233202881 at 2023-09-02
- dependent-monoidal-map # failure in job https://hydra.nixos.org/build/233212829 at 2023-09-02
- dep-t # failure in job https://hydra.nixos.org/build/233217847 at 2023-09-02
- deptrack-core # failure in job https://hydra.nixos.org/build/233239143 at 2023-09-02
- derangement # failure in job https://hydra.nixos.org/build/233209660 at 2023-09-02
@ -1305,6 +1302,7 @@ broken-packages:
- dijkstra-simple # failure in job https://hydra.nixos.org/build/233218373 at 2023-09-02
- DimensionalHash # failure in job https://hydra.nixos.org/build/233230945 at 2023-09-02
- dino # failure in job https://hydra.nixos.org/build/252725815 at 2024-03-16
- diohsc # failure in job https://hydra.nixos.org/build/259625302 at 2024-05-15
- diophantine # failure in job https://hydra.nixos.org/build/233229215 at 2023-09-02
- diplomacy # failure in job https://hydra.nixos.org/build/233207895 at 2023-09-02
- direct-binary-files # failure in job https://hydra.nixos.org/build/233246387 at 2023-09-02
@ -1548,6 +1546,7 @@ broken-packages:
- erlang # failure in job https://hydra.nixos.org/build/233195837 at 2023-09-02
- erlang-ffi # failure in job https://hydra.nixos.org/build/233233314 at 2023-09-02
- eros # failure in job https://hydra.nixos.org/build/233247983 at 2023-09-02
- errata # failure in job https://hydra.nixos.org/build/259627186 at 2024-05-15
- errno # failure in job https://hydra.nixos.org/build/252725782 at 2024-03-16
- error-context # failure in job https://hydra.nixos.org/build/233245027 at 2023-09-02
- error-continuations # failure in job https://hydra.nixos.org/build/233232357 at 2023-09-02
@ -1900,7 +1899,6 @@ broken-packages:
- gang-of-threads # failure in job https://hydra.nixos.org/build/252716251 at 2024-03-16
- Ganymede # failure in job https://hydra.nixos.org/build/233248892 at 2023-09-02
- garepinoh # failure in job https://hydra.nixos.org/build/233238111 at 2023-09-02
- gargoyle # failure in job https://hydra.nixos.org/build/233196445 at 2023-09-02
- gas # failure in job https://hydra.nixos.org/build/233233966 at 2023-09-02
- gasp # failure in job https://hydra.nixos.org/build/252731457 at 2024-03-16
- gather # failure in job https://hydra.nixos.org/build/233208848 at 2023-09-02
@ -2410,7 +2408,6 @@ broken-packages:
- hat # failure in job https://hydra.nixos.org/build/233243655 at 2023-09-02
- hats # failure in job https://hydra.nixos.org/build/233256724 at 2023-09-02
- hatt # failure in job https://hydra.nixos.org/build/233195039 at 2023-09-02
- haveibeenpwned # failure in job https://hydra.nixos.org/build/233253058 at 2023-09-02
- haven # failure in job https://hydra.nixos.org/build/233216806 at 2023-09-02
- haverer # failure in job https://hydra.nixos.org/build/233210491 at 2023-09-02
- hax # failure in job https://hydra.nixos.org/build/233212147 at 2023-09-02
@ -3208,8 +3205,6 @@ broken-packages:
- jort # failure in job https://hydra.nixos.org/build/233195250 at 2023-09-02
- joy-rewrite # failure in job https://hydra.nixos.org/build/233201002 at 2023-09-02
- jpeg # failure in job https://hydra.nixos.org/build/233204056 at 2023-09-02
- jsaddle-clib # failure in job https://hydra.nixos.org/build/233203899 at 2023-09-02
- jsaddle-wkwebview # failure in job https://hydra.nixos.org/build/233242986 at 2023-09-02
- js-good-parts # failure in job https://hydra.nixos.org/build/233198958 at 2023-09-02
- json2 # failure in job https://hydra.nixos.org/build/233242447 at 2023-09-02
- json-alt # failure in job https://hydra.nixos.org/build/233242230 at 2023-09-02
@ -3392,7 +3387,7 @@ broken-packages:
- language-webidl # failure in job https://hydra.nixos.org/build/233194656 at 2023-09-02
- laop # failure in job https://hydra.nixos.org/build/233204106 at 2023-09-02
- LargeCardinalHierarchy # failure in job https://hydra.nixos.org/build/233250339 at 2023-09-02
- large-generics # failure in job https://hydra.nixos.org/build/233210324 at 2023-09-02
- large-records
- Lastik # failure in job https://hydra.nixos.org/build/233194460 at 2023-09-02
- latest-npm-version # failure in job https://hydra.nixos.org/build/233239108 at 2023-09-02
- latex-formulae-image # failure in job https://hydra.nixos.org/build/233251243 at 2023-09-02
@ -3435,7 +3430,6 @@ broken-packages:
- lens-process # failure in job https://hydra.nixos.org/build/233242948 at 2023-09-02
- lensref # failure in job https://hydra.nixos.org/build/233205479 at 2023-09-02
- lens-simple # failure in job https://hydra.nixos.org/build/233245452 at 2023-09-02
- lens-sop # failure in job https://hydra.nixos.org/build/252721754 at 2024-03-16
- lens-tell # failure in job https://hydra.nixos.org/build/233234619 at 2023-09-02
- lens-text-encoding # failure in job https://hydra.nixos.org/build/233222713 at 2023-09-02
- lens-th-rewrite # failure in job https://hydra.nixos.org/build/233201025 at 2023-09-02
@ -4198,6 +4192,7 @@ broken-packages:
- op2 # failure in job https://hydra.nixos.org/build/255683846 at 2024-04-16
- opaleye-classy # failure in job https://hydra.nixos.org/build/233214120 at 2023-09-02
- opaleye-sqlite # failure in job https://hydra.nixos.org/build/233191474 at 2023-09-02
- opaleye-textsearch # failure in job https://hydra.nixos.org/build/259602432 at 2024-05-15
- opaleye-trans # failure in job https://hydra.nixos.org/build/233210536 at 2023-09-02
- open-adt # failure in job https://hydra.nixos.org/build/233201191 at 2023-09-02
- OpenAFP # failure in job https://hydra.nixos.org/build/233249295 at 2023-09-02
@ -4737,6 +4732,7 @@ broken-packages:
- process-sequential # failure in job https://hydra.nixos.org/build/233221064 at 2023-09-02
- procrastinating-variable # failure in job https://hydra.nixos.org/build/233229350 at 2023-09-02
- procstat # failure in job https://hydra.nixos.org/build/233256320 at 2023-09-02
- prodapi # failure in job https://hydra.nixos.org/build/259624456 at 2024-05-15
- product-isomorphic # failure in job https://hydra.nixos.org/build/233230736 at 2023-09-02
- prof2pretty # failure in job https://hydra.nixos.org/build/233240665 at 2023-09-02
- prof-flamegraph # failure in job https://hydra.nixos.org/build/233254675 at 2023-09-02
@ -4766,11 +4762,9 @@ broken-packages:
- pro-source # failure in job https://hydra.nixos.org/build/233226793 at 2023-09-02
- prosper # failure in job https://hydra.nixos.org/build/233244079 at 2023-09-02
- proteaaudio # failure in job https://hydra.nixos.org/build/233225498 at 2023-09-02
- proto3-wire # failure in job https://hydra.nixos.org/build/233208217 at 2023-09-02
- protocol-buffers # failure in job https://hydra.nixos.org/build/233220653 at 2023-09-02
- protocol-buffers-fork # failure in job https://hydra.nixos.org/build/233228361 at 2023-09-02
- protocol # failure in job https://hydra.nixos.org/build/233224436 at 2023-09-02
- proto-lens-arbitrary # failure in job https://hydra.nixos.org/build/233239393 at 2023-09-02
- proto-lens-combinators # failure in job https://hydra.nixos.org/build/252726979 at 2024-03-16
- protolude-lifted # failure in job https://hydra.nixos.org/build/233196312 at 2023-09-02
- proton-haskell # failure in job https://hydra.nixos.org/build/233214383 at 2023-09-02
@ -4937,7 +4931,6 @@ broken-packages:
- record-encode # failure in job https://hydra.nixos.org/build/233216156 at 2023-09-02
- record # failure in job https://hydra.nixos.org/build/233242406 at 2023-09-02
- records # failure in job https://hydra.nixos.org/build/233254822 at 2023-09-02
- records-sop # failure in job https://hydra.nixos.org/build/233251652 at 2023-09-02
- record-wrangler # failure in job https://hydra.nixos.org/build/233212838 at 2023-09-02
- rec-smallarray # failure in job https://hydra.nixos.org/build/233258592 at 2023-09-02
- recursive-line-count # failure in job https://hydra.nixos.org/build/252736942 at 2024-03-16
@ -5684,6 +5677,7 @@ broken-packages:
- stm-firehose # failure in job https://hydra.nixos.org/build/233220943 at 2023-09-02
- stm-lifted # failure in job https://hydra.nixos.org/build/252726872 at 2024-03-16
- stm-promise # failure in job https://hydra.nixos.org/build/233204293 at 2023-09-02
- stm-queue # failure in job https://hydra.nixos.org/build/259624889 at 2024-05-15
- stm-stats # failure in job https://hydra.nixos.org/build/233214914 at 2023-09-02
- stochastic # failure in job https://hydra.nixos.org/build/233242019 at 2023-09-02
- Stomp # failure in job https://hydra.nixos.org/build/233252583 at 2023-09-02
@ -6290,7 +6284,6 @@ broken-packages:
- universal-binary # failure in job https://hydra.nixos.org/build/233240583 at 2023-09-02
- universe-instances-base # failure in job https://hydra.nixos.org/build/233197845 at 2023-09-02
- universe-instances-trans # failure in job https://hydra.nixos.org/build/233235623 at 2023-09-02
- universe-some # failure in job https://hydra.nixos.org/build/233254356 at 2023-09-02
- unix-handle # failure in job https://hydra.nixos.org/build/233233273 at 2023-09-02
- unix-memory # failure in job https://hydra.nixos.org/build/252735802 at 2024-03-16
- unix-process-conduit # failure in job https://hydra.nixos.org/build/233191509 at 2023-09-02

View File

@ -28,13 +28,17 @@ default-package-overrides:
- gi-gdkx11 < 4
# 2021-11-09: ghc-bignum is bundled starting with 9.0.1; only 1.0 builds with GHCs prior to 9.2.1
- ghc-bignum == 1.0
- hie-bios == 0.13.1
# 2024-05-10: need to match hlegder from stackage
- hledger-ui < 1.33
extra-packages:
- Cabal-syntax == 3.6.* # Dummy package that ensures packages depending on Cabal-syntax can work for Cabal < 3.8
- Cabal == 3.2.* # Used for packages needing newer Cabal on ghc 8.6 and 8.8
- Cabal == 3.6.* # used for packages needing newer Cabal on ghc 8.10 and 9.0
- Cabal-syntax == 3.8.* # version required for ormolu and fourmolu on ghc 9.2 and 9.0
- Cabal-syntax == 3.10.* # newest version required for cabal-install and other packages
- Cabal-syntax == 3.10.* # version required for cabal-install and other packages
- Cabal == 3.10.* # version required for cabal-install and other packages
- directory == 1.3.7.* # required to build cabal-install 3.10.* with GHC 9.2
- Diff < 0.4 # required by liquidhaskell-0.8.10.2: https://github.com/ucsd-progsys/liquidhaskell/issues/1729
- aeson < 2 # required by pantry-0.5.2
@ -43,7 +47,6 @@ extra-packages:
- attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now
- base16-bytestring < 1 # required for cabal-install etc.
- basement < 0.0.15 # 2022-08-30: last version to support GHC < 8.10
- bower-json == 1.0.0.1 # 2022-05-21: Needed for spago 0.20.9
- brick == 0.70.* # 2022-08-13: needed by taskell
- brittany == 0.13.1.2 # 2022-09-20: needed for hls on ghc 8.8
- crackNum < 3.0 # 2021-05-21: 3.0 removed the lib which sbv 7.13 uses
@ -110,6 +113,8 @@ extra-packages:
- algebraic-graphs < 0.7 # 2023-08-14: Needed for building weeder < 2.6.0
- fuzzyset == 0.2.4 # 2023-12-20: Needed for building postgrest > 10
- ShellCheck == 0.9.0 # 2024-03-21: pinned by haskell-ci
- versions < 6 # 2024-04-22: required by spago-0.21
- fsnotify < 0.4 # 2024-04-22: required by spago-0.21
package-maintainers:
abbradar:
@ -648,7 +653,6 @@ unsupported-platforms:
monomer: [ platforms.darwin ] # depends on mesa
monomer-hagrid: [ platforms.darwin ] # depends on mesa
mptcp-pm: [ platforms.darwin ]
mueval: [ aarch64-linux ] # https://hydra.nixos.org/build/257076117/nixlog/2 https://gitlab.haskell.org/ghc/ghc/-/issues/24432
nanovg: [ platforms.darwin ] # depends on mesa
netlink: [ platforms.darwin ]
notifications-tray-icon: [ platforms.darwin ] # depends on gi-dbusmenu
@ -734,6 +738,7 @@ supported-platforms:
htune: [ platforms.linux ] # depends on alsa-pcm
hw-prim-bits: [ platforms.x86 ] # x86 assembler
inline-asm: [ platforms.x86 ] # x86 assembler
jsaddle-wkwebview: [ platforms.darwin ]
keid-core: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
keid-frp-banana: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
keid-geometry: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)

View File

@ -1,4 +1,4 @@
# Stackage LTS 22.17
# Stackage LTS 22.18
# This file is auto-generated by
# maintainers/scripts/haskell/update-stackage.sh
default-package-overrides:
@ -394,7 +394,7 @@ default-package-overrides:
- atom-basic ==0.2.5
- atom-conduit ==0.9.0.1
- atomic-counter ==0.1.2.1
- atomic-primops ==0.8.5
- atomic-primops ==0.8.7
- atomic-write ==0.2.0.7
- attoparsec ==0.14.4
- attoparsec-aeson ==2.1.0.0
@ -929,7 +929,7 @@ default-package-overrides:
- doctest-exitcode-stdio ==0.0
- doctest-extract ==0.1.2
- doctest-lib ==0.1.1
- doctest-parallel ==0.3.1
- doctest-parallel ==0.3.1.1
- doldol ==0.4.1.2
- do-list ==1.0.1
- domain ==0.1.1.5
@ -1345,7 +1345,7 @@ default-package-overrides:
- haskoin-node ==1.0.1
- haskoin-store-data ==1.2.5
- hasktags ==0.73.0
- hasql ==1.6.4.3
- hasql ==1.6.4.4
- hasql-dynamic-statements ==0.3.1.5
- hasql-implicits ==0.1.1.2
- hasql-interpolate ==0.2.1.0
@ -1457,7 +1457,7 @@ default-package-overrides:
- hsini ==0.5.2.2
- hsinstall ==2.8
- HSlippyMap ==3.0.1
- hslogger ==1.3.1.0
- hslogger ==1.3.1.1
- hslua ==2.3.1
- hslua-aeson ==2.3.1
- hslua-classes ==2.3.1
@ -1881,10 +1881,10 @@ default-package-overrides:
- microlens ==0.4.13.1
- microlens-aeson ==2.5.2
- microlens-contra ==0.1.0.3
- microlens-ghc ==0.4.14.2
- microlens-ghc ==0.4.14.3
- microlens-mtl ==0.2.0.3
- microlens-platform ==0.4.3.5
- microlens-th ==0.4.3.14
- microlens-th ==0.4.3.15
- microspec ==0.2.1.3
- microstache ==1.0.2.3
- midair ==0.2.0.1
@ -2031,7 +2031,7 @@ default-package-overrides:
- network-messagepack-rpc ==0.1.2.0
- network-messagepack-rpc-websocket ==0.1.1.1
- network-multicast ==0.3.2
- network-run ==0.2.7
- network-run ==0.2.8
- network-simple ==0.4.5
- network-transport ==0.5.7
- network-uri ==2.6.4.2
@ -2323,7 +2323,7 @@ default-package-overrides:
- proto-lens-optparse ==0.1.1.12
- proto-lens-runtime ==0.7.0.6
- protolude ==0.3.4
- proxied ==0.3.1
- proxied ==0.3.2
- psql-helpers ==0.1.0.0
- PSQueue ==1.2.0
- psqueues ==0.2.8.0
@ -2539,7 +2539,7 @@ default-package-overrides:
- secp256k1-haskell ==1.1.0
- securemem ==0.1.10
- selections ==0.3.0.0
- selective ==0.7
- selective ==0.7.0.1
- semialign ==1.3
- semigroupoids ==6.0.0.1
- semigroups ==0.20
@ -2804,7 +2804,7 @@ default-package-overrides:
- symengine ==0.1.2.0
- symmetry-operations-symbols ==0.0.2.1
- synthesizer-alsa ==0.5.0.6
- synthesizer-core ==0.8.3
- synthesizer-core ==0.8.4
- synthesizer-dimensional ==0.8.1.1
- synthesizer-midi ==0.6.1.2
- sysinfo ==0.1.1
@ -2904,8 +2904,8 @@ default-package-overrides:
- text-regex-replace ==0.1.1.5
- text-rope ==0.2
- text-short ==0.1.5
- text-show ==3.10.4
- text-show-instances ==3.9.7
- text-show ==3.10.5
- text-show-instances ==3.9.8
- text-zipper ==0.13
- tfp ==1.0.2
- tf-random ==0.5
@ -3179,7 +3179,7 @@ default-package-overrides:
- wai-websockets ==3.0.1.2
- wakame ==0.1.0.0
- warp ==3.3.31
- warp-tls ==3.4.4
- warp-tls ==3.4.5
- wave ==0.2.1
- wcwidth ==0.0.2
- webdriver ==0.12.0.0
@ -3218,7 +3218,7 @@ default-package-overrides:
- writer-cps-transformers ==0.5.6.1
- ws ==0.0.6
- wss-client ==0.3.0.0
- wuss ==2.0.1.7
- wuss ==2.0.1.8
- X11 ==1.10.3
- X11-xft ==0.3.4
- x11-xim ==0.0.9.0
@ -3292,7 +3292,7 @@ default-package-overrides:
- zeromq4-patterns ==0.3.1.0
- zigzag ==0.0.1.0
- zim-parser ==0.2.1.0
- zip ==2.0.0
- zip ==2.0.1
- zip-archive ==0.4.3.2
- zippers ==0.3.2
- zip-stream ==0.2.2.0

View File

@ -633,12 +633,11 @@ dont-distribute-packages:
- bdcs-api
- beam-automigrate
- beam-postgres
- beam-sqlite
- beam-th
- bearriver
- beautifHOL
- bech32-th
- beeminder-api
- bech32-th_1_1_6
- bein
- belka
- bff
@ -875,8 +874,6 @@ dont-distribute-packages:
- cleff-plugin
- cless
- cleveland
- cli-git
- cli-nix
- click-clack
- clickhouse-haskell
- clifford
@ -1476,7 +1473,6 @@ dont-distribute-packages:
- funion
- funnyprint
- funsat
- fused-effects-squeal
- fwgl-glfw
- fwgl-javascript
- fxpak
@ -1487,9 +1483,6 @@ dont-distribute-packages:
- galois-fft
- galois-field
- gamma
- gargoyle-postgresql
- gargoyle-postgresql-connect
- gargoyle-postgresql-nix
- gbs-downloader
- gbu
- gdax
@ -1918,7 +1911,6 @@ dont-distribute-packages:
- haskanoid
- haskdeep
- haskeem
- haskell-abci
- haskell-admin
- haskell-admin-health
- haskell-admin-managed-functions
@ -2430,7 +2422,6 @@ dont-distribute-packages:
- json-query
- json-rpc-client
- json-schema
- json-sop
- json-spec-elm
- json-spec-elm-servant
- json-spec-openapi
@ -2539,7 +2530,6 @@ dont-distribute-packages:
- language-qux
- language-spelling
- large-anon
- large-records
- lat
- latex-formulae-hakyll
- latex-formulae-pandoc
@ -2661,6 +2651,7 @@ dont-distribute-packages:
- lol-typing
- loli
- longshot
- looksee
- looksee-trip
- loop-effin
- lorentz
@ -2751,6 +2742,7 @@ dont-distribute-packages:
- metar-http
- metronome
- micro-gateway
- microdns
- microformats2-types
- midimory
- mighttpd
@ -2940,7 +2932,6 @@ dont-distribute-packages:
- ngx-export-tools-extra
- nikepub
- nirum
- nix-thunk
- nkjp
- nlp-scores-scripts
- nom
@ -3229,6 +3220,8 @@ dont-distribute-packages:
- process-qq
- process-streaming
- procrastinating-structure
- prodapi-proxy
- prodapi-userauth
- producer
- product
- prof2dot
@ -3372,7 +3365,6 @@ dont-distribute-packages:
- reflex-backend-wai
- reflex-dom-colonnade
- reflex-dynamic-containers
- reflex-gadt-api
- reflex-gloss-scene
- reflex-libtelnet
- reflex-localize
@ -3671,7 +3663,6 @@ dont-distribute-packages:
- si-clock
- sibe
- sigma-ij
- signable
- signals
- signature
- silvi
@ -3781,6 +3772,7 @@ dont-distribute-packages:
- sproxy
- sproxy-web
- sproxy2
- sq
- sql-simple-mysql
- sql-simple-pool
- sql-simple-postgresql
@ -3788,9 +3780,6 @@ dont-distribute-packages:
- sqlcli-odbc
- sqlite-simple-interpolate
- sqlite-simple-typed
- squeal-postgresql
- squeal-postgresql-ltree
- squeal-postgresql-uuid-ossp
- squeeze
- sr-extra
- srt-dhall
@ -4100,8 +4089,6 @@ dont-distribute-packages:
- unitym-servant
- unitym-yesod
- universal
- universe
- universe-dependent-sum
- universe-th
- unix-fcntl
- unpacked-these
@ -4164,14 +4151,12 @@ dont-distribute-packages:
- verifiable-expressions
- verismith
- versioning-servant
- vessel
- vflow-types
- vformat-aeson
- vformat-time
- vfr-waypoints
- vigilance
- vimeta
- vinyl-generics
- vinyl-operational
- vision
- visual-graphrewrite

View File

@ -849,8 +849,12 @@ self: super: builtins.intersectAttrs super {
url = "https://github.com/purescript/purescript-docs-search/releases/download/v0.0.11/purescript-docs-search";
sha256 = "1hjdprm990vyxz86fgq14ajn0lkams7i00h8k2i2g1a0hjdwppq6";
};
spagoDocs = overrideCabal (drv: {
in
lib.pipe (super.spago.override {
versions = self.versions_5_0_5;
fsnotify = self.fsnotify_0_3_0_1;
}) [
(overrideCabal (drv: {
postUnpack = (drv.postUnpack or "") + ''
# Spago includes the following two files directly into the binary
# with Template Haskell. They are fetched at build-time from the
@ -875,21 +879,17 @@ self: super: builtins.intersectAttrs super {
"$sourceRoot/templates/docs-search-app-0.0.11.js" \
"$sourceRoot/templates/purescript-docs-search-0.0.11"
'';
}) super.spago;
spagoOldAeson = spagoDocs.overrideScope (hfinal: hprev: {
# spago is not yet updated for aeson 2.0
aeson = hfinal.aeson_1_5_6_0;
# bower-json 1.1.0.0 only supports aeson 2.0, so we pull in the older version here.
bower-json = hprev.bower-json_1_0_0_1;
});
}))
# Tests require network access.
spagoWithoutChecks = dontCheck spagoOldAeson;
in
# spago doesn't currently build with ghc92. Top-level spago is pulled from
# ghc90 and explicitly marked unbroken.
markBroken spagoWithoutChecks;
dontCheck
# Overly strict upper bound on text
doJailbreak
# Generate shell completion for spago
(self.generateOptparseApplicativeCompletions [ "spago" ])
];
# checks SQL statements at compile time, and so requires a running PostgreSQL
# database to run it's test suite
@ -1377,4 +1377,6 @@ self: super: builtins.intersectAttrs super {
pvar = dontCheck super.pvar;
kmonad = enableSeparateBinOutput super.kmonad;
xmobar = enableSeparateBinOutput super.xmobar;
}

File diff suppressed because it is too large Load Diff

View File

@ -211,15 +211,21 @@ in package-set { inherit pkgs lib callPackage; } self // {
}) firstRevision;
# Creates a Haskell package from a source package by calling cabal2nix on the source.
callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args:
callCabal2nixWithOptions = name: src: opts: args:
let
filter = path: type:
extraCabal2nixOptions = if builtins.isString opts
then opts
else opts.extraCabal2nixOptions or "";
srcModifier = opts.srcModifier or null;
defaultFilter = path: type:
pkgs.lib.hasSuffix ".cabal" path ||
baseNameOf path == "package.yaml";
expr = self.haskellSrc2nix {
inherit name extraCabal2nixOptions;
src = if pkgs.lib.canCleanSource src
then pkgs.lib.cleanSourceWith { inherit src filter; }
src = if srcModifier != null
then srcModifier src
else if pkgs.lib.canCleanSource src
then pkgs.lib.cleanSourceWith { inherit src; filter = defaultFilter; }
else src;
};
in overrideCabal (orig: {

View File

@ -1,7 +1,7 @@
diff --git a/hadrian/src/Settings/Builders/Haddock.hs b/hadrian/src/Settings/Builders/Haddock.hs
index 902b2f85e2..429a441c3b 100644
--- a/src/Settings/Builders/Haddock.hs
+++ b/src/Settings/Builders/Haddock.hs
--- a/hadrian/src/Settings/Builders/Haddock.hs
+++ b/hadrian/src/Settings/Builders/Haddock.hs
@@ -57,7 +57,6 @@ haddockBuilderArgs = mconcat
, arg $ "--odir=" ++ takeDirectory output
, arg $ "--dump-interface=" ++ output

View File

@ -1,7 +1,7 @@
diff --git a/hadrian.cabal b/hadrian.cabal
index 70fded11aa..3893537f05 100644
--- a/hadrian.cabal
+++ b/hadrian.cabal
--- a/hadrian/hadrian.cabal
+++ b/hadrian/hadrian.cabal
@@ -150,7 +150,7 @@ executable hadrian
, TypeOperators
other-extensions: MultiParamTypeClasses

View File

@ -11,7 +11,6 @@
, ghcVersion
# Customization
, userSettings ? null
, enableHyperlinkedSource
}:
mkDerivation {
@ -21,13 +20,6 @@ mkDerivation {
postUnpack = ''
sourceRoot="$sourceRoot/hadrian"
'';
patches = lib.optionals (!enableHyperlinkedSource) [
./disable-hyperlinked-source.patch
] ++ lib.optionals (lib.elem ghcVersion [ "9.8.1" "9.8.2" ]) [
# Incorrect bounds on Cabal
# https://gitlab.haskell.org/ghc/ghc/-/issues/24100
./hadrian-9.8.1-allow-Cabal-3.10.patch
];
# Overwrite UserSettings.hs with a provided custom one
postPatch = lib.optionalString (userSettings != null) ''
install -m644 "${writeText "UserSettings.hs" userSettings}" src/UserSettings.hs

View File

@ -32,10 +32,6 @@
# Contents of a non-default UserSettings.hs to use when building hadrian, if any.
# Should be a string or null.
, userSettings ? null
# Whether to pass --hyperlinked-source to haddock or not. This is a custom
# workaround as we wait for this to be configurable via userSettings or similar.
# https://gitlab.haskell.org/ghc/ghc/-/issues/23625
, enableHyperlinkedSource ? false
}:
let
@ -50,7 +46,7 @@ let
in
callPackage' ./hadrian.nix ({
inherit userSettings enableHyperlinkedSource;
inherit userSettings;
} // lib.optionalAttrs (lib.versionAtLeast ghcVersion "9.9") {
# Starting with GHC 9.9 development, additional in tree packages are required
# to build hadrian. (Hackage-released conditional dependencies are handled

View File

@ -1,7 +1,9 @@
{ haskell
, haskellPackages
, lib
# The following are only needed for the passthru.tests:
, spago
, cacert
, git
, nodejs
@ -9,53 +11,47 @@
, runCommand
}:
let
spago =
lib.pipe
haskell.packages.ghc90.spago
[ haskell.lib.compose.justStaticExecutables
(haskell.lib.compose.overrideCabal (oldAttrs: {
changelog = "https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
}))
];
in
lib.pipe
haskellPackages.spago
[
haskell.lib.compose.justStaticExecutables
spago.overrideAttrs (oldAttrs: {
passthru = (oldAttrs.passthru or {}) // {
updateScript = ./update.sh;
(haskell.lib.compose.overrideCabal (oldAttrs: {
changelog = "https://github.com/purescript/spago/releases/tag/${oldAttrs.version}";
# These tests can be run with the following command. The tests access the
# network, so they cannot be run in the nix sandbox. sudo is needed in
# order to change the sandbox option.
#
# $ sudo nix-build -A spago.passthru.tests --option sandbox relaxed
#
tests =
runCommand
"spago-tests"
{
__noChroot = true;
nativeBuildInputs = [
cacert
git
nodejs
purescript
spago
];
}
''
# spago expects HOME to be set because it creates a cache file under
# home.
HOME=$(pwd)
passthru = (oldAttrs.passthru or {}) // {
updateScript = ./update.sh;
spago --verbose init
spago --verbose build
spago --verbose test
# These tests can be run with the following command. The tests access the
# network, so they cannot be run in the nix sandbox. sudo is needed in
# order to change the sandbox option.
#
# $ sudo nix-build -A spago.passthru.tests --option sandbox relaxed
#
tests =
runCommand
"spago-tests"
{
__noChroot = true;
nativeBuildInputs = [
cacert
git
nodejs
purescript
spago
];
}
''
# spago expects HOME to be set because it creates a cache file under
# home.
HOME=$(pwd)
touch $out
'';
};
meta = (oldAttrs.meta or {}) // {
mainProgram = "spago";
};
})
spago --verbose init
spago --verbose build
spago --verbose test
touch $out
'';
};
}))
]

View File

@ -9,16 +9,16 @@
, optparse-applicative, prettyprinter, process, QuickCheck, retry
, rio, rio-orphans, safe, semver-range, stm, stringsearch, tar
, template-haskell, temporary, text, time, transformers, turtle
, unliftio, unordered-containers, utf8-string, versions, with-utf8
, zlib
, unliftio, unordered-containers, uri-encode, utf8-string, versions
, with-utf8, yaml, zlib
}:
mkDerivation {
pname = "spago";
version = "0.20.9";
version = "0.21.0";
src = fetchgit {
url = "https://github.com/purescript/spago.git";
sha256 = "00vdqg7vaw3d9zwh47886lw9fhhlwjagzhaj3aqz4xm92pjavhih";
rev = "d16d4914200783fbd820ba89dbdf67270454faf5";
sha256 = "1v5y15nhw6smnir0y7y854pa70iv8asxsqph2y8rz1c9lkz5d41g";
rev = "c354f4a461f65fcb83aaa843830ea1589f6c7179";
fetchSubmodules = true;
};
isLibrary = true;
@ -31,7 +31,7 @@ mkDerivation {
optparse-applicative prettyprinter process retry rio rio-orphans
safe semver-range stm stringsearch tar template-haskell temporary
text time transformers turtle unliftio unordered-containers
utf8-string versions with-utf8 zlib
uri-encode utf8-string versions with-utf8 yaml zlib
];
executableHaskellDepends = [
ansi-terminal base text turtle with-utf8
@ -43,4 +43,5 @@ mkDerivation {
testToolDepends = [ hspec-discover ];
homepage = "https://github.com/purescript/spago#readme";
license = lib.licenses.bsd3;
mainProgram = "spago";
}

View File

@ -35716,7 +35716,7 @@ with pkgs;
xlife = callPackage ../applications/graphics/xlife { };
xmobar = haskellPackages.xmobar;
xmobar = haskellPackages.xmobar.bin;
xmonad-log = callPackage ../tools/misc/xmonad-log { };

View File

@ -360,6 +360,32 @@ in {
llvmPackages = pkgs.llvmPackages_15;
};
ghc98 = compiler.ghc982;
ghc9101 = callPackage ../development/compilers/ghc/9.10.1.nix {
bootPkgs =
# For GHC 9.6 no armv7l bindists are available.
if stdenv.hostPlatform.isAarch32 then
packages.ghc963
else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
packages.ghc963
else if stdenv.hostPlatform.isDarwin then
# it seems like the GHC 9.6.* bindists are built with a different
# toolchain than we are using (which I'm guessing from the fact
# that 9.6.4 bindists pass linker flags our ld doesn't support).
# With both 9.6.3 and 9.6.4 binary it is impossible to link against
# the clock package (probably a hsc2hs problem).
packages.ghc963
else
packages.ghc963Binary;
inherit (buildPackages.python3Packages) sphinx;
# Need to use apple's patched xattr until
# https://github.com/xattr/xattr/issues/44 and
# https://github.com/xattr/xattr/issues/55 are solved.
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
# 2023-01-15: Support range >= 11 && < 16
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
llvmPackages = pkgs.llvmPackages_15;
};
ghc910 = compiler.ghc9101;
ghcHEAD = callPackage ../development/compilers/ghc/head.nix {
bootPkgs =
# For GHC 9.6 no armv7l bindists are available.
@ -525,6 +551,12 @@ in {
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.8.x.nix { };
};
ghc98 = packages.ghc982;
ghc9101 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc9101;
ghc = bh.compiler.ghc9101;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
};
ghc910 = packages.ghc9101;
ghcHEAD = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghcHEAD;
ghc = bh.compiler.ghcHEAD;

View File

@ -74,6 +74,7 @@ let
ghc965
ghc981
ghc982
ghc9101
];
# packagePlatforms applied to `haskell.packages.*`
@ -503,22 +504,27 @@ let
cabal-install = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
Cabal_3_10_3_0 = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
Cabal-syntax_3_10_3_0 = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
cabal2nix = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
cabal2nix-unstable = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
funcmp = released;
haskell-language-server = lib.subtractLists [
@ -526,25 +532,31 @@ let
compilerNames.ghc8107
# Support ceased as of 2.5.0.0
compilerNames.ghc902
# No support yet (2024-05-12)
compilerNames.ghc9101
] released;
hoogle = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
hlint = lib.subtractLists [
compilerNames.ghc902
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
hpack = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
hsdns = released;
jailbreak-cabal = released;
language-nix = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
large-hashable = [
compilerNames.ghc928
@ -553,6 +565,7 @@ let
titlecase = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
ghc-api-compat = [
compilerNames.ghc8107
@ -564,14 +577,17 @@ let
ghc-lib = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
ghc-lib-parser = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
ghc-lib-parser-ex = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
ghc-source-gen = [
# Feel free to remove these as they break,
@ -588,11 +604,15 @@ let
hashable = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
primitive = lib.subtractLists [
compilerNames.ghc9101
] released;
primitive = released;
weeder = lib.subtractLists [
compilerNames.ghc981
compilerNames.ghc982
compilerNames.ghc9101
] released;
})
{