Commit Graph

6930 Commits

Author SHA1 Message Date
github-actions[bot]
82ecb2df7f
Merge master into haskell-updates 2021-12-16 00:07:46 +00:00
Dennis Gosnell
51419dabf2 haskellPackages.hslua: disable tests when building with musl 2021-12-15 23:59:09 +01:00
John Ericson
1e37d3ee15 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-15 21:12:32 +01:00
John Ericson
e2509e4ebf haskellPackages.{github,nix-thunk}: Fix 2021-12-15 21:12:32 +01:00
github-actions[bot]
1e85228aa6
Merge master into staging-next 2021-12-15 18:01:15 +00:00
Artur Cygan
cd600120e3 haskellPackages.sbv: fix build on aarch64 2021-12-15 15:56:29 +01:00
sternenseemann
78c71274a3 haskellPackages.http3: unmark as broken 2021-12-15 13:58:51 +01:00
sternenseemann
119de5da93 haskell.compiler.ghc921.hlint: 3.3.4 -> unstable-2021-12-12
hlint introduced GHC 9.2.1 support on its development branch recently.
2021-12-15 12:03:30 +01:00
sternenseemann
243cd8e8df haskell.packages.ghc921.hoogle: unbreak
haskell.packages.ghc921.bsb-http-chunked: disable doctest suite

This package's doctest suite is invoked in a weird way apparently which
makes it fail to typecheck with GHC 9.2.1.
2021-12-15 11:13:48 +01:00
sternenseemann
a2e7891926 haskell.packages.ghc901.ChasingBottoms: disable stale broken flag 2021-12-15 09:59:53 +01:00
Deniz Alp
3c80a17155 haskellPackages.pinch: Fix build by bumping network 2021-12-14 02:26:47 +03:00
sternenseemann
248a27fa15 haskellPackages: adjust overrides for hspec update
latest hspec{,-core,-discover}: 2.9.3 -> 2.9.4
2021-12-13 13:14:05 +01:00
sternenseemann
30db91b3c4 haskellPackages: adjust overrides for attoparsec update
latest attoparsec: 0.14.2 -> 0.14.3
2021-12-13 13:13:36 +01:00
Dennis Gosnell
eb05d35817
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-12 17:10:19 +09:00
Dennis Gosnell
de0f4f0d08
Merge pull request #150245 from kocielnik/master
haskellPackages.Monadoro: remove from broken pkgs
2021-12-12 16:14:07 +09:00
github-actions[bot]
5708a53249
Merge master into haskell-updates 2021-12-12 00:08:22 +00:00
github-actions[bot]
c6ad49e2f0
Merge master into staging-next 2021-12-12 00:01:54 +00:00
Gabriella Gonzalez
bb976f4e86
haskell.packages.ghcjs.vector: Fix evaluation failure (#150002)
The derivation for the GHCJS `vector` package broke in #142940 due to
introducing the line of code that this change deletes.

The offending line appears to have been unintentionally added and
causes an evaluation failure for two separate reason :

* The argument order is wrong

  The change in #142940 switched the `haskellLib` utilities to flip
  their argument order, but the `appendPatch` in the offending line
  has the original argument order

* The patch file referenced by the offending line does not exist

The correct fix is to delete the line, because the patch is not
necessary.  The default version of the `vector` package is `0.12.3.1`,
which already includes the fix from that patch.
2021-12-11 12:04:13 -08:00
Patryk Kocielnik
cbfd6dfbdd haskellPackages.Monadoro: remove from broken pkgs
Package tests are fixed in the recent version (0.2.6.0).
2021-12-11 13:56:18 +01:00
github-actions[bot]
92aabc6576
Merge master into staging-next 2021-12-10 00:01:53 +00:00
Malte Brandy
fb3194f453
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-09 22:33:07 +01:00
sternenseemann
3388791f55 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-12-09 21:31:42 +01:00
Alyssa Ross
c9a581b05f
Merge remote-tracking branch 'nixpkgs/master' into staging-next
CONFLICT (rename/add): Rename pkgs/development/python-modules/jsonwatch/default.nix->pkgs/tools/misc/jsonwatch/default.nix in nixpkgs/master.  Added pkgs/tools/misc/jsonwatch/default.nix in HEAD
2021-12-09 01:43:58 +00:00
sternenseemann
56691eb51a haskellPackages.Agda: 2.6.2 -> 2.6.2.1
https://hackage.haskell.org/package/Agda-2.6.2.1/changelog
2021-12-08 23:15:57 +01:00
Malte Brandy
5b1c8d4a82
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-08 23:02:33 +01:00
sternenseemann
54da902c84 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-12-08 21:46:13 +01:00
sternenseemann
cf33a63733 haskell.packages.ghc921.validity: use proper patch for 0.12.0.0 2021-12-08 14:32:39 +01:00
sternenseemann
124a9ddaf7 haskellPackages.ghcup: reflect streamly hackage update 2021-12-08 12:16:55 +01:00
sternenseemann
504c30b124 haskellPackages: reflect hspec hackage updates 2021-12-08 09:30:14 +01:00
sternenseemann
953b83cf54 haskellPackages.dhall-nixpkgs: drop now unnecessary override 2021-12-08 09:21:12 +01:00
Malte Brandy
d0160f4809
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-07 21:20:57 +01:00
github-actions[bot]
41895efeb5
Merge master into staging-next 2021-12-06 12:01:16 +00:00
sternenseemann
be65588e5d haskell.packages.ghc921.memory: ensure head.hackage patch applies 2021-12-06 11:17:21 +01:00
sternenseemann
95d8e01777 haskellPackages.proto-lens: drop now unnecessary override 2021-12-05 16:22:28 +01:00
sternenseemann
53cd25707b haskellPackages.jet: allow building with recursive-zipper 0.0.0.1 2021-12-05 16:02:47 +01:00
sternenseemann
0b87a7d890 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-12-05 15:55:52 +01:00
sternenseemann
87c14165de haskellPackages.photoname: disable test suite requiring stack 2021-12-05 15:47:53 +01:00
sternenseemann
f963842b02 haskell.packages.ghc901.text-short: 0.1.3 -> 0.1.4
With GHC 9.0.1 text-short's test suite hits a bug that was fixed in 0.1.4.
2021-12-05 14:11:59 +01:00
sternenseemann
5fcda75017 haskell.packages.ghc901.{multistate,butcher}: jailbreak
These packages build fine with GHC 9.0.1, but forbid base 4.15. Build
fixed as a prerequisite to later unbreaking brittany.
2021-12-05 14:04:27 +01:00
sternenseemann
b56049c449 haskellPackages.brittany: pin to 0.13.1.2
0.14.0.0 introduces support for GHC 9.0.1, but also drops support for
all GHCs below, so we can't upgrade to that version.

For the 9.0.1 hls brittany support is now possible in theory. In
practice however, it is a massive pain to get to work, as britanny
depends on the latest and greatest version of multiple packages that are
pinned by Stackage LTS.
2021-12-05 14:04:26 +01:00
sternenseemann
eb1bdd9f8c haskellPackages.dhall-nixpkgs: generate shell completions 2021-12-05 13:19:52 +01:00
sternenseemann
5606343aa5 haskellPackages.dhall-nixpkgs: use revised cabal file
This allows the Stackage LTS version of base64-bytestring (1.1.0.0).
2021-12-05 13:17:58 +01:00
sternenseemann
46631f08a8 haskellPackages.rel8: downgrade to 1.2.0.0 for stackage LTS compat 2021-12-04 18:43:38 +01:00
sternenseemann
85b9ba0ccd haskellPackages.git-annex: update sha256 for 8.20211123 2021-12-04 18:12:49 +01:00
sternenseemann
d6d8eddce4 haskell.packages.ghc921.ormolu: 0.1.4.1 -> 0.4.0.0
Brings GHC 9.2.1 support, also fix builds of dependencies.
2021-12-03 17:01:29 +01:00
sternenseemann
a4f68278eb haskell.packages.ghc901.weeder: jailbreak to allow lens 5.1 2021-12-03 16:01:19 +01:00
sternenseemann
d5ab00182b haskell.packages.ghc921.quickcheck-instances: 0.3.26.1 -> 0.3.27 2021-12-03 15:44:34 +01:00
sternenseemann
0fee3e1309 haskell.packages.ghc901: adjust to dhall hackage update 2021-12-03 15:44:34 +01:00
sternenseemann
12e94a519b haskell.packages.ghc901.ormolu: pin to 0.3.*
ormolu >= 0.4 seems to require GHC 9.2.1
2021-12-03 15:44:14 +01:00
sternenseemann
417a1da7e0 haskell.packages.ghc901.path: pin to 0.9.0
This is the last version which builds with the stackage version of
genvalidity and is also compatible with 9.0.1.
2021-12-03 15:15:09 +01:00
sternenseemann
dccf15a33c haskellPackages.graphql-engine: adjust to hspec hackage update 2021-12-03 13:32:13 +01:00
sternenseemann
44012780f7 haskellPackages.hledger_1_24: init at 1.24
haskellPackages.hledger-lib_1_24: init at 1.24
haskellPackages.hledger_1_23: remove at 1.23
haskellPackages.hledger-lib_1_23: remove at 1.23
2021-12-03 12:42:04 +01:00
sternenseemann
016839f1db haskellPackages.hadolint: reflect dependency hackage updates 2021-12-03 12:02:01 +01:00
sternenseemann
ecc88d7a5c haskellPackages.ghcup: reflect streamly hackage update 2021-12-03 12:01:45 +01:00
sternenseemann
6852fdd5ad haskell.packages.ghc921.hashable: reflect hackage update 2021-12-03 11:17:45 +01:00
sternenseemann
85413090da haskellPackages.brick_0_64_2: preserve for matterhorn
Sadly, matterhorn can't be built with 0.65 (yet?).
2021-12-03 10:48:27 +01:00
sternenseemann
5a49142a4f nix-tree: build with latest brick 2021-12-03 10:37:33 +01:00
sternenseemann
c57f5d5d05 haskellPackages.paramtree: update comment for dontCheck override 2021-12-03 10:15:38 +01:00
sternenseemann
6727f1e420 haskell.packages.ghc901.extras: drop now unnecessary override
We upgraded th-extras to a git revision before for 9.0.1 compat, but
it has now gotten a proper release.
2021-12-03 10:11:11 +01:00
Jonathan Ringer
2e6fadac4e
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/python-modules/django-rq/default.nix
2021-12-02 16:07:50 -08:00
Malte Brandy
9ee79763f0
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-12-03 00:53:57 +01:00
Malte Brandy
038201ebdb
haskellPackages: stackage-lts 18.17 -> 18.18
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-12-03 00:53:01 +01:00
maralorn
9bdfe94971
Merge pull request #148321 from datakurre/hasura
haskellPackages.hasura: 2.0.9 -> 2.0.10
2021-12-03 00:41:50 +01:00
Asko Soukka
e3cba2b9da
haskellPackages.hasura: 2.0.9 -> 2.0.10 2021-12-02 21:26:51 +02:00
sterni
fdef8095fd
Merge pull request #148209 from sternenseemann/doDistribute-all-platforms
haskell.lib{,.compose}.doDistribute: default to lib.platforms.all
2021-12-02 11:54:12 +01:00
sternenseemann
6496069dda haskell.lib{,.compose}.doDistribute: default to lib.platforms.all
This reflects the default value set in generic-builder.nix, following
the reasoning that GHC can cross-compile and we assume that packages are
generally portable.
2021-12-02 11:27:12 +01:00
zowoq
9326641548 shellcheck: add override for newer version
`haskellPackages.ShellCheck` is pinned on stackage.
2021-12-02 08:12:31 +10:00
sternenseemann
512c0ee78a haskellPackages.xmonad*_0_17_0: build on Hydra
Makes it easier to spot regressions and gives binary cache to downstream
users.
2021-12-01 18:25:28 +01:00
sternenseemann
6bdb60a405 haskellPackages.xmonad-extras_0_17_0: build with matching releases
Needs xmonad and xmonad-contrib of the same version.
2021-12-01 18:25:28 +01:00
sternenseemann
a9fb1cb78a haskellPackages.xmonad-contrib_0_17_0: mv override closer to xmonad
Having everything in one place is going to make this a bit more maintainable.
2021-12-01 18:25:28 +01:00
Nick Hu
36d5761b3e haskellPackages.xmonad_0_17_0: respect NIX_GHC and XMONAD_XMESSAGE
Adds xmonad-nix.patch adjusted for xmonad 0.17.0.

Originally posted here: https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/5

Co-Authored-By: ento <ping@stillspinning.cc>
Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-12-01 18:25:28 +01:00
Ellie Hermaszewska
e4d170bc8f
Merge pull request #145124 from sternenseemann/graphviz-hardcode-store-paths 2021-12-01 16:54:35 +08:00
Jonathan Ringer
3bbe9a9459
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/top-level/all-packages.nix
2021-11-29 10:15:20 -08:00
Deniz Alp
c7bbff3f4d haskellPackages.fakedata: Disable test suite
The test suite for fakedata is fixed in version 1.0.1 but since we follow
stackage for this package and there the version is at 0.8.0 we're just disabling
the test suite until it gets updated.
2021-11-29 14:56:13 +03:00
Profpatsch
5abb1856ce haskell-modules/lib: make postFixup more resilient
1. Putting the string on one line (instead of using a multiline
string) means it is not ended with \n, which means if somebody wants
to append more lines, they have to start it with \n or it will get
concatenated to the `postFixup` here, so add \n.

2. Previously, ignoring `drv.postFixup` would throw away any
`postFixup`s set in `drv`, which is not something we want.

The extra empty line is a cute trick to prevent concatenating the code
with any previous `postFixup` that doesn’t end in \n.
2021-11-27 15:47:58 +01:00
sternenseemann
50f256f5ef ghcWithPackages: don't wrap GHC with LLVM unnecessarily
Since GHC now will have LLVM available when needed, we don't need to add
it in the wrapper anymore. It can still be added if NCG is available,
but -fllvm should be used (e. g. to work around an NCG bug).
2021-11-25 19:28:57 +01:00
sterni
48b60ee86f
Merge pull request #146938 from sternenseemann/ghc901-llvm-9
haskell.compiler: refactor LLVM handling, upgrade to latest LLVM version for each GHC version
2021-11-24 14:50:34 +01:00
sternenseemann
c32095b400 ghcWithPackages: rename withLLVM to useLLVM
useLLVM is what we are using in the GHC derivations already -- for
better or for worse -- so we should rename the argument here for
consistency which we are free to do as this is purely internal at the
moment (with overriding being impossible).
2021-11-24 10:21:39 +01:00
sternenseemann
d442ca39dc haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-11-23 23:11:19 +01:00
sternenseemann
ee0a2c935f haskellPackages.hls-rename-plugin: allow compiling with ghcide 1.5.0
The updated bounds upstream (with no additional changes) are pending
release as 1.0.0.1.

311107eabb (diff-a4d51410a2d9bbbb2a72a7a055b6e7df05e69c19b914d973a7c48da72383eeb4)
2021-11-23 23:02:52 +01:00
sternenseemann
d7ff8061be haskellPackages: always inherit llvmPackages from ghc's passthru
This means we only have to update the llvmPackages attribute in one
place now and should prevent situations like with 8.6.5 where different
versions would be used in the package set compared to the compiler
build.

Drop comments in the configuration-ghc-X.Y.x.nix files as well, since
LLVM version isn't tied to the compiler minor version at
all (e. g. 8.10.2 and 8.10.7 have different support ranges).
2021-11-23 16:46:18 +01:00
sternenseemann
2f98c1824c ghcWithPackages: GHC 8.10.7 still needs LLVM for aarch64-darwin
This check was wrong and caused by a bit of confusion on my part.
GHC >= 8.10.5 && < 9 supports aarch64-darwin via LLVM and GHC >= 9.2.1
introduces the NCG backend for aarch64-darwin.
2021-11-23 16:01:45 +01:00
sternenseemann
86c50292b0 haskellPackages.hls-haddock-comment-plugin: no aarch64-linux tests
test suite triggers same RTS bug (?) as hls-hlint-plugin.
2021-11-22 12:22:08 +01:00
sternenseemann
90abe1c0c6 haskellPackages.hls-hlint-plugin: don't run tests on aarch64-linux
test suite triggers same RTS bug (?) as hls-hlint-plugin.
2021-11-21 23:02:19 +01:00
sternenseemann
57017e5352 haskellPackages.melf: don't attempt to run incomplete test suite
Hackage tarball is missing necessary test data.
2021-11-21 22:50:06 +01:00
sternenseemann
a86917fe5e haskellPackages.dear-imgui: jailbreak to fix build 2021-11-21 22:41:52 +01:00
sternenseemann
885ad7c367 haskellPackages: restrict haskell-gi's revdeps to be 0.25 compatible
A lot of these packages are not in stackage for some reason, so we need
to add some extra constraints to keep the packages stackage-compatible.

Some newly uploaded packages will become broken, as they've never had a
version compatible with haskell-gi 0.25.
2021-11-21 22:03:19 +01:00
sternenseemann
3c0b2ca7b3 haskellPackages.hls-hlint-plugin: don't run tests on aarch64-linux
Seems like its test suite triggers a similar RTS bug as the doctest test
suites.
2021-11-21 21:04:54 +01:00
sternenseemann
1606d449ff haskell.packages.ghc921.vector-th-unbox: drop now obsolete patch 2021-11-21 21:00:44 +01:00
sternenseemann
6b3cbce94f haskell.packages.ghc921.streaming-commons: drop now obsolete patch 2021-11-21 19:57:54 +01:00
sternenseemann
060b13e415 haskellPackages.git-annex: drop patch included in latest release 2021-11-21 17:31:51 +01:00
sternenseemann
40ea5fe6d1 haskellPackages.git-annex: update sha256 for 8.20211117 2021-11-20 17:59:50 +01:00
sterni
ca929af2a2
Merge pull request #146493 from sternenseemann/ghc-with-packages-native-codegen
ghcWithPackages: fix / update LLVM deactivation if NCG is available
2021-11-20 16:34:16 +01:00
sternenseemann
ab35cb8814 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-20 13:43:24 +01:00
sternenseemann
344bea4e0c haskell.packages.ghc921.aeson_2_0_1_0: drop obsolete override
The hackage version of aeson has been updated from 2.0.1.0 -> 2.0.2.0
and now builds without intervention.
2021-11-20 13:29:29 +01:00
sternenseemann
0bebef945b haskell.packages.ghcHEAD.git-annex: drop outdated override 2021-11-20 13:29:28 +01:00
sternenseemann
af3fa3e279 haskell.packages.ghc9{0,2}1.lens: 5.0.1 -> 5.1
Latest on Hackage has been updated, so let's try to follow. Stackage LTS
still doesn't support GHC >= 9.0
2021-11-20 13:29:28 +01:00
Malte Brandy
32508c3145
haskellPackages.hls-brittany-plugin: dontCheck on aarch64 2021-11-20 12:15:14 +01:00
Malte Brandy
356698c493
haskell-language-server: Fix plugins for 1.5.0.0 2021-11-20 02:54:04 +01:00
maralorn
2a1b1189ef
Merge pull request #146398 from hercules-ci/hercules-ci-agent-update-0.8.4
hercules-ci-agent: 0.8.3 -> 0.8.4
2021-11-20 01:11:17 +01:00
mrkun
4df9292e9b haskellPackages.mime-string: disable optimization for older compilers 2021-11-20 02:13:42 +03:00
sternenseemann
e69353aaf7 haskellPackages.doctest_0_18_2: init at 0.18.2
Since hledger-lib 1.23 won't build with the latest doctest, there's
likely a change in behavior somewhere. 0.18.2 is then the closest
doctest to stackage's which works with GHC >= 9, so let's stick with it
for now.
2021-11-19 18:29:50 +01:00
sternenseemann
781daa41ef haskellPackages: adapt to hspec hackage update 2021-11-19 17:59:47 +01:00
sternenseemann
6f0f4a92b5 haskellPackages.xmonad-contrib_0_17_0: build with matching xmonad 2021-11-19 13:20:40 +01:00
Robert Hensing
70875b7602 hci: 0.2.3 -> 0.2.4 2021-11-19 11:05:04 +01:00
Robert Hensing
562143de32 hercules-ci-agent: 0.8.3 -> 0.8.4 2021-11-19 11:05:04 +01:00
Robert Hensing
2f844b004a hercules-ci-cnix-store: 0.2.1.0 -> 0.2.1.1 2021-11-19 11:05:03 +01:00
sternenseemann
7fc57e61d3 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-11-18 21:39:34 +01:00
sternenseemann
bea36e4f8a haskellPackages: stackage-lts 18.16 -> 18.17
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-11-18 21:35:55 +01:00
sternenseemann
4535a9ddb4 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-11-18 19:20:34 +01:00
sternenseemann
d2290e85bb haskellPackages.lucid-{alpine,htmx}: pin to 0.1.0.2 for stackage compat 2021-11-18 17:23:07 +01:00
sternenseemann
d4795c8efc haskellPackages.hasql-interpolate: disable tests (need running postgres) 2021-11-18 17:13:42 +01:00
thielema
bb52b0e13e haskellPackages.synthesizer-alsa: re-enabled
Closes #146475.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2021-11-18 17:04:05 +01:00
thielema
c919b17438 haskellPackages.llvm-ffi-tools, llvm-pkg-config: re-enabled
Closes #146473.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2021-11-18 17:00:28 +01:00
Henning Thielemann
ed3fe4c6c4 haskellPackages.lapack: disable tests because they do not run reliably
remove from broken.yaml

Closes #146231.
Closes #146472.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2021-11-18 16:56:58 +01:00
sternenseemann
1b2ef27ea2 haskellPackages: update list of transitively broken packages 2021-11-18 16:49:25 +01:00
sternenseemann
571f3e504b ghcWithPackages: list missing targets with NCG available
Based on https://gitlab.haskell.org/ghc/ghc/-/wikis/platforms, although
it sadly doesn't list when the backends were introduced.

* PowerPC, x86 (and x86_64) and Sparc have been supported for longer.

* aarch64-darwin is new in 9.2.1 and backported to 8.10.5, 8.10.6 and
  8.10.7 (check is dumb here since we'll grep for 8.10.7 anyways when
  upgrading)

Fixes ghcWithPackages failing to evaluate on aarch64-darwin because of
missing support for the platform in LLVM 9's compiler-rt.
2021-11-18 16:33:51 +01:00
sternenseemann
cfdc073da4 ghcWithPackages: check targetPlatform to decide if NCG is available
The availability of native codegen (which allows us to disable the LLVM
backend by default) hinges on the target platform of the compiler (that
is GHC), not on the platform it runs on (the host platform).
2021-11-18 16:33:51 +01:00
sternenseemann
6e9314230a haskellPackages.git-annex: fix build with git-lfs 1.2.0 2021-11-14 20:56:43 +01:00
sternenseemann
7d3dbec3cc haskellPackages.git-annex: move input overrides to configuration-nix 2021-11-14 20:56:43 +01:00
sternenseemann
3266c51421 haskellPackages.git-annex: refactor configuration-nix.nix overrides
Move everything into a single overrideCabal and express conditionality
using optionalAttrs. This should make it easier to add
more (un)conditional overrides in the future.
2021-11-14 20:56:43 +01:00
sternenseemann
53d4ee4074 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-11-14 17:24:34 +01:00
sternenseemann
bdaf941e39 haskellPackages.hercules-ci-*: fix eval with haskell.lib.compose
PR was merged after the switch to haskell.lib.compose by default, but
originally created before that day, so the argument order used was
completely wrong, but CI didn't show it, because its state was stale.
2021-11-14 16:36:30 +01:00
Domen Kožar
6fe99723d3
Merge pull request #145383 from hercules-ci/upgrade-cnix
hercules-ci-*, cachix: nix: 2.3 -> 2.4
2021-11-14 08:41:08 -06:00
maralorn
68984a08dd
Merge pull request #145817 from sternenseemann/ghcide-fix
haskellPackages.ghcide: allow newer implicit-hie-cradle
2021-11-14 00:53:07 +01:00
sternenseemann
6327d72c55 haskellPackages.ghcide: allow newer implicit-hie-cradle
0.4 is current on hackage, but ghcide has a constrait < 0.4
2021-11-14 00:36:43 +01:00
sternenseemann
0b7c86fded haskell.packages.ghc921.hashable-time: 0.2.1 -> 0.3
haskell.packages.ghc921.time-compat: 1.9.5 -> 1.9.6.1

Reflect removal of Eq instance for ZonedTime.
2021-11-14 00:05:22 +01:00
sternenseemann
5debbba1f6 haskell.packages.ghc921.cereal: drop now obsolete patch 2021-11-13 23:50:13 +01:00
Utku Demir
ac15a841cd haskellPackages.nix-tree: Build with a supported brick version
`nix-tree >= 0.19` requires `brick >= 0.64` which is not the default
on the stackage resolver yet. This commit adds an override for the correct
version.
2021-11-13 22:50:37 +01:00
Ellie Hermaszewska
1c2f36ac02
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-11-13 14:12:46 +08:00
Ellie Hermaszewska
7748bd20a3
haskellPackages.hadolint: overrideScope for correct dependency versions 2021-11-13 14:11:46 +08:00
sternenseemann
f618f8ba38 haskellPackages: adjust overrides for hspec update
The latest available version of hspec is now hspec* 2.8.4.
2021-11-12 12:41:16 +01:00
sternenseemann
51eed17da0 haskellPackages: adjust overrides for doctest update
* haskell.packages.ghc9{0,2}1.doctest: 0.18.1 -> 0.18.2

* haskell.packages.ghc921.doctest: drop now obsolete patch

* haskellPackages.hledger-lib_1_23: reflect doctest update
2021-11-12 10:44:22 +01:00
(cdep)illabout
8b92aabf52 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-11-12 13:02:57 +09:00
(cdep)illabout
b1120b2a06 haskellPackages: stackage-lts 18.15 -> 18.16
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-11-12 12:59:14 +09:00
(cdep)illabout
24965d7d17 haskellPackages: mark packages depending on webkitgtk as not supported on darwin 2021-11-12 11:11:18 +09:00
(cdep)illabout
968cdb4815 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-11-12 10:26:52 +09:00
(cdep)illabout
47428eb551 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-11-12 09:40:59 +09:00
Dennis Gosnell
d602c931e2
Merge pull request #145310 from cdepillabout/purescript-in-nixpkgs
haskellPackages.purescript: get building again
2021-11-12 08:50:32 +09:00
Robert Hensing
f4c24b78d3 hercules-ci-*, cachix: nix: 2.3 -> 2.4 2021-11-11 11:45:47 +01:00
(cdep)illabout
3973f7a670 haskellPackages.purenix: add myself as a maintainer 2021-11-11 10:06:22 +09:00
(cdep)illabout
804bb2546d haskellPackages.purenix: get building 2021-11-11 10:01:30 +09:00
(cdep)illabout
c2b56b0162 haskellPackages.happy_1_19_9: removed no-longer-used version 2021-11-11 10:01:30 +09:00
(cdep)illabout
749f0c355e haskellPackages.purescript: get building again 2021-11-11 10:01:30 +09:00
maralorn
d8e8bb1210
Merge pull request #145401 from sternenseemann/haddock-interfaces
haskellPackages.mkDerivation: add doHaddockInterfaces option
2021-11-10 23:45:12 +01:00
sternenseemann
af0eedf531 haskell.packages.ghc921.invariant: drop now upstreamed patch 2021-11-10 23:15:08 +01:00
Pepe Iborra
d68033afae haskellPackages.mkDerivation: add doHaddockInterfaces option
This adds a new builder option `doHaddockInterfaces` to enable the -haddock flag in GHC,
which results in Haddock comments parsed at compile-time and embedded in
interface files. These are used by the :doc command in GHCi, as well as IDE
tools like ghcide and hls to display docs on hover.

The `-haddock` flag has been around since at least 8.2, even though it does not
get a mention in the GHC Users guide.

There are two downsides to turning on this flag:

1. Increased compile times, since Haddocks must be parsed and then encoded
2. Haddock parse errors now become compile errors for GHC < 9.0.1
   (https://gitlab.haskell.org/ghc/ghc/-/issues/8944)

Thus we only enable the feature if we have GHC 9.0.1 and haddock is
enabled; when 9.0.1 becomes the default GHC, we may need to reevaluate
the performance concern.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2021-11-10 21:10:35 +01:00
(cdep)illabout
1269a421d1 haskellPackages.language-javascript_0_7_0_0: add for use with purescript 2021-11-10 13:45:43 +09:00
(cdep)illabout
ea8a637c66 haskellPackages.purescript-cst: get building 2021-11-10 13:42:38 +09:00
github-actions[bot]
da2c9c6eab
Merge master into haskell-updates 2021-11-10 00:07:08 +00:00
Bernardo Meurer
32c35c5164
haskellPackages.hercules-ci-agent: pin to nix_2_3 2021-11-09 10:47:18 -08:00
Bernardo Meurer
794d38995f
haskellPackages.hercules-ci-cnix-expr: pin to nix_2_3 2021-11-09 10:47:17 -08:00
Bernardo Meurer
7336444023
haskellPackages.hercules-ci-cnix-store: pin to nix_2_3 2021-11-09 10:47:16 -08:00
Bernardo Meurer
5bc981bed6
cachix: pin to nix_2_3 2021-11-09 10:47:15 -08:00
sternenseemann
068869dd03 haskellPackages.lapack-ffi: apply configuration change unbreaking it
See 6542059fb5.
2021-11-09 13:26:58 +01:00
sternenseemann
cc61d6cca0 haskellPackages.ghc-bignum: pin to 1.0 for 8.10.* support
Starting with GHC 9.0.1 ghc-bignum is bundled with GHC and we don't need
to worry about building it from hackage. ghc-bignum 1.2 doesn't seem to
build with anything before 9.2.1, so we need to downgrade ghc-bignum to
1.0 (and sadly keep our patches) for 8.10.7 support.
2021-11-09 13:25:03 +01:00
sternenseemann
e6272c1715 haskellPackages.futhark: pin to < 0.20.6 to avoid aeson 2.0.0.0
We can't really use aeson 2.0.0.0 in nixpkgs yet, so we need to pin
futhark to avoid this constraint.
2021-11-09 13:23:10 +01:00
sternenseemann
d25b3d60af haskellPackages.streamly_0_8_0: provide new dep Cocoa on darwin 2021-11-09 13:07:02 +01:00
github-actions[bot]
e1766085b3
Merge master into haskell-updates 2021-11-09 00:10:05 +00:00
sternenseemann
398a948191 haskellPackages.ghcup: fix libyaml-streamly inheriting stale broken
overrideScope applies an overlay that fixes the build error for
libyaml-streamly, however the (correct) broken state of the package in
the normal package set is incorrectly inherited, so a markUnbroken is
required.
2021-11-08 23:54:26 +01:00
sternenseemann
50f969fb18 haskellPackages.git-annex: update sha256 for 8.20211028 2021-11-08 23:35:54 +01:00
sternenseemann
a8bf7797ed haskellPackages.dsv: run now fixed test suite 2021-11-08 23:17:43 +01:00
sternenseemann
f522c412d5 haskellPackages.graphviz: hardcode references to graphviz tools
This will make everything using graphviz just work without graphviz
having to be able from PATH (in a nix-shell or installed globally).
2021-11-08 23:11:06 +01:00
sternenseemann
07c7f8e267 haskellPackages.assoc-list{,like}: run now fixed test suite 2021-11-08 22:25:41 +01:00
thielema
6542059fb5
haskellPackages.lapack-ffi: remove from broken.yaml 2021-11-08 22:08:53 +01:00
sternenseemann
6ec50700ae haskellPackages.base16: run now fixed testsuite 2021-11-08 22:06:59 +01:00
sternenseemann
e4bb4090ac haskellPackages.plots: remove now unnecessary jailbreak 2021-11-08 22:06:47 +01:00
Ellie Hermaszewska
17e2591d9b
haskell.packages.ghc901.autoapply: jailbreak 2021-11-08 23:05:38 +08:00
Ellie Hermaszewska
2413ab9e72
haskellPackages.developPackage: Use haskell.lib.compose correctly 2021-11-08 18:34:00 +08:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
Ellie Hermaszewska
518f09f2d0
haskell.lib.compose: init
No changes in derivations for pkgs.haskellPackages
2021-11-07 19:40:00 +08:00
Ellie Hermaszewska
8b7c314eae
haskellPackages.lua: remove unnecessary patch 2021-11-07 18:48:42 +08:00
Ellie Hermaszewska
62ecf444fe
haskellPackages.hledger_1_23: override hledger-lib dependency version 2021-11-07 16:39:31 +08:00
sternenseemann
1756231ea5 haskell.packages.ghc921.ghc-lib*: use 9.2.1 version by default
hlint still uses the 9.0.1 versions, since its version bounds prevent
the 9.2.1 ones from being used for the time being.
2021-11-06 17:54:11 +01:00
Ellie Hermaszewska
5102894b08
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-11-06 17:37:46 +08:00
Ellie Hermaszewska
12e5c6505e
haskellPackages.hadolint: remove override
hadolint depends on a docker version we don't package. Will have to wait
until the next release for it to work with language-docker-10.3.0.0
2021-11-06 17:37:46 +08:00
Ellie Hermaszewska
7c182a1002
configuration-ghc-9.2.x.nix: update overrides 2021-11-06 17:27:41 +08:00
Ellie Hermaszewska
207243f7c9
Merge pull request #144758 from vaibhavsagar/ghc-9-2-overrides
configuration-ghc-9.2.x.nix: update overrides
2021-11-06 17:07:41 +08:00
Vaibhav Sagar
1278c772da configuration-ghc-9.2.x.nix: aeson_2_0_1_0-related overrides 2021-11-06 17:56:55 +11:00
sternenseemann
a1f0dff4a7 haskellPackages: make ghc-lib* package versions GHC 9.0.1 available
These packages have seen releases for GHC 9.2.1, removing the 9.0.1
versions from the package set. By adding them to extra-packages, we can
prevent them from getting removed.
2021-11-05 17:39:05 +01:00
sternenseemann
c6b8abd70a haskell.packages.ghc901.th-desugar: use 1.13 to fix eval 2021-11-05 17:38:39 +01:00
Vaibhav Sagar
b38d0a8086 configuration-ghc-9.2.x.nix: update overrides 2021-11-06 03:03:44 +11:00
Ellie Hermaszewska
64a5e322cb
haskellPackages.hadolint: patch to permit our language-docker version 2021-11-05 19:30:00 +08:00
Ellie Hermaszewska
7a2ef11ae1
haskellPackages.ghcup: overrideScope for new versions and jailbreak 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
be3aabda6b
haskellPackages.haskell-ci-unstable: bump attoparsec dependency 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
02fb0e2202
haskellPackages.ghcup: remove obsolete test fix 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
a744a7413d
haskellPackages.language-docker: remove obsolete fix 2021-11-05 15:42:29 +08:00
Ellie Hermaszewska
0f125bc220
haskell.packages.ghc901.semialign: 1.2 -> 1.2.0.1 2021-11-05 15:42:29 +08:00
Ellie Hermaszewska
0669baa827
haskellPackages.hnix: bump semialign dependency 2021-11-05 15:42:29 +08:00
(cdep)illabout
fc00be62ad haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-11-05 15:44:56 +09:00
(cdep)illabout
a48d50d751 haskellPackages: stackage-lts 18.13 -> 18.15
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-11-05 15:42:20 +09:00
(cdep)illabout
f92b08416d haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-11-05 14:13:15 +09:00
sternenseemann
e469110847 haskell.packages.ghc921.tf-random: work around aarch64 decoding bug
GHC 9.2.1 seemingly has trouble decoding the UTF-8 in tf-random's
haddock comments and cabal file, causing haddock and the build to
fail. Until there's a patch from upstream we can apply, we'll just
disable haddock.
2021-11-01 12:18:45 +01:00
sternenseemann
1d4787f14d haskell.compiler.ghc921: 9.2.0.20210821 -> 9.2.1
https://mail.haskell.org/pipermail/glasgow-haskell-users/2021-October/027082.html

Also fixes a bug affecting the behavior of streaming-commons and text:
https://gitlab.haskell.org/ghc/ghc/-/issues/20526

Co-authored-by: Guillaume Bouchard <guillaum.bouchard@gmail.com>
2021-10-29 21:32:52 +02:00
sternenseemann
a8d2181317 haskellPackages: update diagrams-related packages to latest hackage
Since https://github.com/diagrams/diagrams/issues/26 has been solved,
all diagrams-related libs finally work together in their latest version
and we can remove the constraints on the following updated packages.

* haskellPackages.monoid-extras: 0.5.1 -> 0.6

* haskellPackages.diagrams-lib: 1.4.3 -> 1.4.4

  Also allows us to get rid of a patch for optparse-applicative 0.16 support.

* haskellPackages.dual-tree: 0.2.2.1 -> 0.2.3.0

  Allows us to drop jailbreak.

* haskellPackages.diagrams-core: 1.4.2 -> 1.5.0

  Allows us to drop jailbreak.

Some reverse dependencies of said libraries had too strict bounds, but
fortunately no new regressions (as far as I am aware) have been
introduced. Jailbreaks were needed for:

* diagrams-braille
* Chart-diagrams
* namespace
* plots
* Chart-tests
2021-10-28 17:55:35 +02:00
sternenseemann
f7ce5752d7 haskellPackages.Chart-tests: fix override
preCheck should reuse the old preCheck phase, not the postPatch
phase (which for example would contain the jailbreak-cabal call). Also
use overrideCabal which should have less pitfalls in this context.
2021-10-28 17:55:35 +02:00
maralorn
23deb3c864
Merge pull request #143186 from sternenseemann/callcabal2nix-no-name-cabal-detection
haskellPackages.callCabal2nixWithOptions: don't guess cabal filename
2021-10-27 18:37:30 +02:00
sternenseemann
5d53087f9b haskellPackages.callCabal2nixWithOptions: don't guess cabal filename
cabal only allows one cabal file per directory and cabal2nix will find
the correct file easily. Thus we don't need to know ahead of time which
cabal file to select. One downside of this is of course that we may
include unnecessary files in subdirectories, which could possibly be
fixed by enforcing depth.
2021-10-27 18:17:10 +02:00
Dennis Gosnell
e220fddec9
Merge pull request #142767 from markus1189/tasty-checklist
haskellPackages.tasty-checklist: unbreak
2021-10-25 09:11:17 +09:00
sternenseemann
a561e73b9e haskellPackages.matterhorn: provide up to date brick
Fails to compile with stackage's brick version and additionally depends
on packages depending on brick, so overrideScope is necessary. Should be
fine as this is a leaf package.
2021-10-24 20:16:01 +02:00