Commit Graph

11765 Commits

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