3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

6701 commits

Author SHA1 Message Date
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 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