Commit Graph

208 Commits

Author SHA1 Message Date
Dennis Gosnell
d7d6b1c445
haskell.compiler.ghc928: init at 9.2.8 2023-05-27 17:24:01 +09:00
sternenseemann
2fe11e6fee haskell.compiler.ghc94: 9.4.4 -> 9.4.5
https://www.haskell.org/ghc/blog/20230418-ghc-9.4.5-released.html
2023-04-22 17:47:11 +02:00
maralorn
ec06927095 haskell-language-server: Enabe builds for ghc 9.6.1 2023-04-11 12:10:05 +02:00
Dennis Gosnell
f9262fba9c haskellPackages: filter out Darwin jobs from mergeable job in release-haskell.nix 2023-03-29 14:39:14 +09:00
Dennis Gosnell
105e326f5f
haskellPackages: make sure versionedCompilerJobs doesn't try running on platforms ghc does not support 2023-03-24 11:43:31 +09:00
Dennis Gosnell
4a736e5ede
haskellPackages: small refactoring and comments to versionedCompilerJobs in release-haskell.nix 2023-03-24 11:32:47 +09:00
Dennis Gosnell
0d364a0117
haskellPackages: small formatting fix to versionedCompilerJobs in release-haskell.nix 2023-03-24 10:40:32 +09:00
Dennis Gosnell
f430566c57
haskellPackages: add comments to release-haskell.nix 2023-03-24 10:39:15 +09:00
sternenseemann
e09625fc2b release-haskell.nix: test Cabal-syntax >= 3.8 as well 2023-03-19 15:51:14 +01:00
sternenseemann
84c43d4e70 release-haskell.nix: test GHC 9.6 package set 2023-03-18 21:31:48 +01:00
sternenseemann
7be4e62855 release-haskell.nix: test weeder with GHC 9.4 2023-03-18 21:31:47 +01:00
sternenseemann
38d703bdb7 haskellPackages.Cabal_3_10_1_0: build with matching of Cabal-syntax 2023-03-14 13:43:01 +01:00
sternenseemann
a738911124 release-haskell.nix: disable musl dependent jobs on aarch64-darwin 2023-03-12 13:21:22 +01:00
sternenseemann
f07d4d077e haskell.compiler.ghc961: init at 9.6.1
xhtml seems to be built unconditionally now which is at least one thing
improved by hadrian.
2023-03-12 13:16:26 +01:00
sternenseemann
100d887968 release-haskell.nix: add aarch64-darwin
nixpkgs:trunk also builds aarch64-darwin these days, so this forces our
hand a little bit. We can still refuse to care about failures _too_
much, but at least we will stop merging as big a rebuilds as we are
currently.
2023-03-10 14:43:00 +01:00
sternenseemann
471b9cab41 haskell.compiler.ghcHEAD: 9.7.20221224 -> 9.7.20230217
- Christmas is over!

- Upstream has changed the name of the target triplet used for the JS
  backend from js-unknown-ghcjs to javascript-unknown-ghcjs, since Cabal
  calls the architecture "javascript":
  6636b67023

  Since the triplet is made up anyways, i.e. autoconf does not support
  it and Rust uses different triplets for its emscripten backends, we'll
  just change it as well.

- Upstream fixed the problem with ar(1) being invoked incorrectly by stage0:
  e987e345c8
2023-03-08 17:12:18 +01:00
sternenseemann
b7d8c46302 haskellPackages.ghc: 9.2.6 -> 9.2.7
https://www.haskell.org/ghc/blog/20230227-ghc-9.2.7-released.html

Also updates some of the printouts in the manual. We should probably
make it clear in the text that these may be outdated, since we are doing
a terrible job keeping up…
2023-03-01 18:41:14 +01:00
sternenseemann
81d5cb1550 haskell.compiler.ghc927: init at 9.2.7
https://www.haskell.org/ghc/blog/20230227-ghc-9.2.7-released.html
2023-03-01 00:39:01 +01:00
sternenseemann
16078721aa release-haskell.nix: don't try building known to fail js backends
aarch64-linux will continue failing unless we find another solution.
For x86_64-darwin we won't learn anything by it being a constaint star
in our build failure reports.
2023-02-19 15:33:22 +01:00
maralorn
1a26447738
Merge pull request #216985 from sternenseemann/release-haskell-ghc926
release-haskell.nix: reflect release of GHC 9.2.6
2023-02-18 21:29:13 +01:00
sternenseemann
2e9ff9aa98 haskell.packages.*.ghc-tags: pick compatible version
Since there is probably more movement going forward, testing this on
Hydra for multiple GHC versions seems sensible.
2023-02-18 20:16:36 +01:00
sternenseemann
1c8a5643ed release-haskell.nix: reflect release of GHC 9.2.6 2023-02-18 18:34:10 +01:00
Felix Buehler
bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
sternenseemann
b931d63bba release-haskell.nix: test ghc with JS backend
It should be just below the current output limit, but we'll see. If it
doesn't fit, we may have to disable profiling objects.
2023-01-05 15:34:56 +01:00
maralorn
de24bca86c release-haskell: Pick correct versions for hlint and hls 2022-12-30 17:42:21 +01:00
sternenseemann
9e8a483770 haskell.compiler.ghc94: 9.4.2 -> 9.4.4
https://www.haskell.org/ghc/blog/20221103-ghc-9.4.3-released.html
https://www.haskell.org/ghc/blog/20221224-ghc-9.4.4-released.html
2022-12-29 13:49:47 +01:00
Dennis Gosnell
fe4c250495
haskell: remove spectacle from release packages 2022-12-24 16:36:07 +09:00
Dennis Gosnell
77a58e74da
haskell: remove idris from release packages 2022-12-24 16:28:43 +09:00
maralorn
65ffdcabee neuron-notes: Remove 2022-12-19 11:33:57 +01:00
sternenseemann
a2da422ee3 haskellPackages.purescript: drop unnecessary overrides
We no longer need to fiddle around with the broken flag, as the package
is in the default set now.
2022-11-26 23:49:20 +01:00
sternenseemann
d3b5468d9a haskell.packages.ghc8107.purescript-*st: mark as broken
These packages are not really used by anything anymore (except dovetail
which has not been working (ever?)). As they now choke on the
base-compat version we ship, we'll mark them as broken.
2022-11-26 23:49:17 +01:00
Dennis Gosnell
06d3d727c5
haskellPackages: stop evaluating hyper-haskell-server-with-packages in jobset 2022-11-20 02:45:35 -05:00
sternenseemann
9f0750597d release-haskell.nix: test emanote 2022-11-11 18:03:41 +01:00
sternenseemann
11882a0bde haskell.packages.ghc92: revert to 9.2.4
Due to https://gitlab.haskell.org/ghc/ghc/-/issues/22425,
we'll tentatively stay with 9.2.4 for now. If you need
9.2.5, it is available via haskell.packages.ghc925.
2022-11-09 23:44:01 +01:00
sternenseemann
3d361be06a haskell.packages.ghc94: revert to 9.4.2
Due to https://gitlab.haskell.org/ghc/ghc/-/issues/22425, we'll
tentatively stay with 9.4.2 for now. 9.4.3 is available explicitly
via haskell.packagse.ghc943 if you need it (e.g. on aarch64).
2022-11-09 23:44:01 +01:00
sternenseemann
c7a0d75bd1 haskell.compiler.ghc92: 9.2.4 -> 9.2.5 2022-11-07 17:29:47 +01:00
sternenseemann
677ff51cfa haskell.compiler: ghc942 -> ghc943
https://www.haskell.org/ghc/download_ghc_9_4_3.html

Dropping GHC 9.4.2, since there is no Stackage snapshot which uses GHC 9.4.*,
so the stack Nix integration should not get any ideas.
2022-11-04 17:56:41 +01:00
sternenseemann
502531cb2d haskell.packages.ghc924.purescript: allow building and test on Hydra
purescript now requires at least GHC 9.2 to be built due to the use of
OverloadedRecordDot. Consequently `haskellPackages.purescript` is marked
as broken. After eliminating the test dependency on the broken
utf8-light in language-javascript_0_7_0_0 we can build and test
purescript in the 9.2.4 package set.
2022-10-30 17:25:14 +01:00
Dennis Gosnell
1445c56426 termonad: remove top-level termonad-with-packages alias 2022-10-15 11:49:02 -04:00
maralorn
193ffabf55 haskell.packages.ghc942.haskell-language-server: Enable hydra job 2022-10-06 00:55:43 +02:00
Jade Lovelace
9d97b342de haskell.packages.ghc942: get inital support up
This change introduces some actual overrides in
configuration-ghc-9.4.x.nix (based on the ones for 9.2) with the aim of
getting a basic 9.4 package set up. In particular the following
“interesting” packages are working:

* hpack
* hoogle
* cabal2nix
* cabal-install

You can get a better overview by looking at the overrides and the
versionedCompilerJobs in release-haskell.nix. Next obvious steps would
be working towards basic HLS support, but it seems that basically none
of the plugins are working so far. Big blockers here:

* https://github.com/alanz/ghc-exactprint/issues/114
* https://github.com/ndmitchell/hlint/issues/1413
* https://github.com/haskell/haskell-language-server/issues/3190

We ourselves have some churn to take care of and should try to release
the changes in https://github.com/NixOS/cabal2nix/pull/571 soon.

Co-authored-by: Rebecca Turner <rbt@sent.as>
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2022-10-02 14:01:45 +02:00
maralorn
39a02ce041 haskell.compiler: Don‘t filter redundant major version jobs 2022-09-21 17:20:16 +02:00
maralorn
122c082943 haskell.pkgsStatic: Fix missing minor version for hydr checks 2022-09-21 17:15:58 +02:00
maralorn
188ea7b8c8 haskell.packages: Revert to minor version test names 2022-09-21 17:03:11 +02:00
maralorn
b6f1e6a1b2 haskell.packages: Show minor version in test names 2022-09-21 16:23:37 +02:00
maralorn
fae2ff5c03 haskell.{compiler,packages}: Add aliases without minor versions 2022-09-21 05:51:28 +02:00
sternenseemann
7f909b041b haskell.compiler: ghc923 -> ghc924
https://www.haskell.org/ghc/download_ghc_9_2_4.html
2022-07-28 18:09:33 +02:00
sternenseemann
f39aee2d8b haskellPackages.terminfo: not a core pkg if cross compiling
GHC's cross build flavours disable the terminfo package, so it will
never be included if we are cross-compiling – setting it to null thus
breaks all builds depending on the package.

To fix this problem, we use the versioned attribute generated by
hackage2nix, just like we do for xhtml.

Closes #182785.
2022-07-25 23:42:29 +02:00
Alex Griffin
4fe4be1b97
xmonadctl: init at 0.17.0 2022-07-14 14:28:32 +02:00
sternenseemann
e233468d9f haskellPackages.purescript: adjust for 0.15.4
0.15.4 supports GHC 9.0 and aeson 2.0, as well as the latest bower-json
version, but the purescript-{a,c}st packages don't sadly.
2022-07-06 21:45:09 +02:00
sternenseemann
64f0689adf haskell.packages.ghc8107.purescript-{a,c}st: sync with purescript
Although purescript-{cst,ast} don't depend on purescript, it's important
that they use the same dependencies as the latter, so packages that
depend on more than one of them at the same time work, like e.g.
purenix (which is broken at the moment because it doesn't support
purescript 0.15).
2022-05-31 23:46:50 +02:00
sternenseemann
adb86aa95d haskell.packages.ghc8107.purescript: clean up patch, unbreak
After a dependency got unbroken recently, only a patch for LTS 18 which
is now part of the release needed cleaning up and aeson 1.5.* and
corresponding bower-json version to be provided.
2022-05-31 21:27:20 +02:00
sternenseemann
6e267b064b release-haskell.nix: test weeder for currently working GHC versions 2022-05-31 15:01:37 +02:00
sternenseemann
90099ac5fa haskell.compiler: ghc922 -> ghc923
https://www.haskell.org/ghc/download_ghc_9_2_3.html

Since the tarball is generated by Hadrian, neither autoreconf nor ./boot
is executed so ./configure and ghc.mk is missing.
2022-05-28 21:11:07 +02:00
sternenseemann
1e18234166 release-haskell.nix: include nixos tests for xmonad
I've recently discovered they were broken by a recent XMonad upgrade,
something we should keep tabs on in the future.
2022-05-19 08:37:08 +02:00
Linus Heckemann
a7ee915179
Merge pull request #172378 from Mindavi/hydra-updates-3
Hydra updates 3
2022-05-13 12:55:53 +02:00
Joachim Breitner
ad6a0e8a63 lhs2tex: Add to top-level
the `lhs2tex` tool is a “commonly” used tool in academia to typeset
certain papers, and it would be prudent to have it available outside the
`haskellPackages` namespace, and also made available on the caches.

Also added to release-haskell.nix, and made myself the maintainer.
2022-05-12 18:03:40 +02:00
Rick van Schijndel
3a7f7c1153 hydra-unstable -> hydra_unstable 2022-05-10 23:32:02 +02:00
sternenseemann
813f8b5efb haskellPackages: xhtml is not bundled if haddock is disabled
The xhtml library is only built as part of the GHC build process if GHC
is disabled. This means that no GHC cross compiler has xhtml bundled,
since haddock can't be built if GHC is a cross compiler (see relevant
notes in the GHC nix expressions). This means that all packages
depending on xhtml would currently fail to build when cross-compiled, as
haskellPackages would assume it'd be provided by GHC. This is fixed by
this commit.

pkgsStatic hits this case, so we test compilation of xhtml for these
package sets which will remind us to update the attribute name whenever
its version changes.
2022-04-29 15:27:02 +02:00
sternenseemann
c2fe259aa6 release-haskell.nix: clean up testing of static haskell packages
* Test the default pkgsStatic.haskellPackages set, as it should be
  working properly now.

* Instead of GHC 8.10.7 which hasn't gotten some workarounds applied,
  test GHC 9.2.2 additionally which should work as well as GHC 9.0.

* Test building an actual executable, cabal2nix.

* Simplify aggregate job definition.

* Make sure GHC 9.2 lens gets built on Hydra.
2022-04-29 11:21:18 +02:00
sternenseemann
b42bd1a3d2 haskell.packages.ghc8107.spectacle: mark as unbroken
Closes #135145.

GHC >= 9.0 is unsupported at this moment (same goes for 8.8.4):
https://github.com/awakesecurity/spectacle/issues/49
2022-04-29 10:45:33 +02:00
github-actions[bot]
77dcdbb46c
Merge master into haskell-updates 2022-04-21 00:13:51 +00:00
Jan van Brügge
dca08f645d
naproche: add to release-haskell.nix
This will ensure maintainers get notified on haskell updates
2022-04-20 09:56:35 +02:00
sternenseemann
7ad0327b59 release-haskell.nix: build boot ghcjs on Hydra
By telling Hydra where to look explicitly, it can be instrumented
to build the boot ghcjs which is only about 300MB. This saves at
least some time compiling for users and will also provide some
eval CI automatically.
2022-04-11 03:15:55 +02:00
sternenseemann
490ec6a9c1 release-haskell.nix: test all haskell based elmPackages 2022-04-08 00:35:11 +02:00
sternenseemann
7b74c9ff04 release-haskell.nix: re-enable x86_64-darwin 2022-03-29 13:10:03 +02:00
sternenseemann
9f7ac92698 dhall-text: remove at 1.0.18
dhall-text has been deprecated upstream and no longer builds with the
other dhall packages we are shipping.
2022-03-26 09:45:49 +01:00
Malte Brandy
7fb5fa680a haskellPackages.policeman: drop 2022-03-21 22:55:51 +01:00
rnhmjoj
4ec13a76b0 release-haskell.nix: test package that needs -fexternal-dynamic-refs 2022-03-17 19:43:04 +01:00
sternenseemann
0da85d3f77 release-haskell.nix: temporarily disable x86_64-darwin
rustc fails to build on x86_64-darwin on the M1 builders Hydra uses.
Since GHC depends on rustc (sphinx -> cryptography -> GHC), the entire
darwin package set is broken at the moment, cluttering build reports
etc.
2022-03-17 18:00:53 +01:00
sternenseemann
47f837f5e8 haskell.compiler: ghc921 -> ghc922
https://www.haskell.org/ghc/download_ghc_9_2_2.html
2022-03-09 16:42:07 +01:00
sternenseemann
33f275b4c2 all-cabal-hashes: 2022-03-03T10:08:52Z -> 2022-03-08T11:03:28Z
* Regenerate package set

* Adjust overrides for upgrades of ghc-lib* and Cabal.
2022-03-08 13:57:59 +01:00
sternenseemann
aa849fe602 release-haskell.nix: generate jobs for native-bignum ghc 9.0.2 2022-02-26 00:47:55 +01:00
sternenseemann
58d830667a release-haskell.nix: test static builds with GHC 9.0.2 as well 2022-02-26 00:44:27 +01:00
sternenseemann
4b20fd57a9 release-haskell.nix: test GHC-specific packages for all package sets
ghc-bignum is the odd-one out as it's a core library for GHC >= 9.0
2022-02-18 18:24:23 +01:00
Malte Brandy
b20fb1ba49 haskell.packages.ghc921.haskell-language-server: Fix build and enable 2022-02-05 03:15:11 +01:00
sternenseemann
74eaf2bc93 release-haskell.nix: correct native-bignum status of 9.0.2 and 9.2.1 2022-01-31 20:04:29 +01:00
sternenseemann
c6923ee0d9 jacinda: init at 0.2.0.0
Expose from haskell.packages.ghc921 (which is the only GHC version that
can build it easily atm) and additionally install man page, language
guide and code examples.
2022-01-24 12:42:14 +01:00
sternenseemann
41eef0059d haskell.compiler: ghc901 -> ghc902
https://www.haskell.org/ghc/download_ghc_9_0_2.html
2021-12-26 10:00:37 +01:00
sternenseemann
9a7068759c release-haskell.nix: GHC 9.2.1 is a released compiler
GHC 9.2.1 has grown beyond being a release candidate for quite some time
now, so let's also adjust the released shortcut in the jobset
definition. ghc-api-compat and haskell-language-server still don't
support 9.2.1, however.
2021-12-21 16:12:21 +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
(cdep)illabout
316dee0197 hyper-haskell: mark broken
hyper-haskell depends on electron-10.4.7, which is marked insecure.
2021-11-05 15:01:17 +09:00
sternenseemann
b1197ac729 writers: run fixupPhase for darwin bin writers
mach-o executables we produce in writers are not always fully valid for
some reason. In normal derivation this is fixed in fixupPhase and we can
replicate this behavior here easily.

Resolves #132660.
2021-10-29 12:34:48 +02:00
sternenseemann
6101c27a43 release-haskell.nix: test working packages with ghc921 as well
This will produce some binary cache and CI for GHC 9.2.1. Specifically
we will notice when we can drop the head.hackage packages again.
2021-10-17 16:21:13 +02:00
sternenseemann
76d93938da release-haskell.nix: rename all (compilers) to released (compilers)
This is more accurate, since we don't have GHC 9.2.1 nor HEAD in there.
2021-10-17 16:21:13 +02:00
sternenseemann
2fb806dba0 haskell.packages.*: reflect Cabal minor version update 2021-10-12 12:51:49 +02:00
Damien Cassou
0ec6fc72a0 hledger-check-fancyassertions: init at 1.23
Co-authored-by: sterni <sternenseemann@systemli.org>
2021-09-30 12:23:30 +02:00
sternenseemann
dfad6f38cc release-haskell.nix: add more GHC drvs to muslGHCs
Now a lot more is working here, let's keep it that way!
2021-09-26 21:08:13 +02:00
sternenseemann
fded78193d release-haskell.nix: don't build musl integer-simple GHC 8.8.4 2021-09-26 21:07:21 +02:00
Niklas Hambüchen
c57ad7ccb9 haskell.compiler.ghc*: Use 8.10.7 bindist for bootstrapping.
This fixes musl+integer-simple, see #130441.

Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-09-23 20:38:36 +02:00
Malte Brandy
d71129e1af
haskell.packages.ghc901.haskell-language-server: Fix build 2021-09-18 03:17:47 +02:00
(cdep)illabout
fb4ad10f1a
haskell: remove ghcjs from pkgsMusl in release-haskell.nix 2021-09-18 02:38:20 +09:00
(cdep)illabout
561e37e641
haskellPackages.Cabal_3_6_1_0: compiles on all GHCs 2021-09-11 12:12:46 +09:00
(cdep)illabout
96f6dbbd10
haskell: bump uses of Cabal_3_6_0_0 to Cabal_3_6_1_0 to get rid of eval errors 2021-09-11 11:58:02 +09:00
sternenseemann
61b713abd6 haskell.packages.*.ghc-api-compat: fix across all supported sets
* haskell.packages.ghc884.ghc-api-compat needed us to re-add the 8.6
  version of the package.
* haskell.packages.ghc901.ghc-api-compat now points to the newly
  released 9.0.1 version of the package.
* haskell.packages.ghc8107.ghc-api-compat now correctly points to
  ghc-api-compat 8.10.7.

GHC 9.2.1 is still unsupported (which is to be expected, with it
being a release candidate).

To make sure everything stays working we'll build ghc-api-compat as part
of versionedCompilerJobs.
2021-09-07 15:48:08 +02:00
sternenseemann
9eca744cc0 ghc: 8.10.6 -> 8.10.7
https://www.haskell.org/ghc/download_ghc_8_10_7.html
2021-08-27 00:42:51 +02:00
sternenseemann
244784d132 top-level/release-haskell.nix: fix remaining references to ghc8104
Attribute was removed in cb330ce4f0.
2021-08-17 12:20:08 +02:00
sternenseemann
cb330ce4f0 ghc: 8.10.4 -> 8.10.6
The only big change is required for darwin since GHC 8.10.5 now
runs xattr in the install phase on darwin:

* 11e1dcde0d
* ec451cac39

Unfortunately, it uses the host /usr/bin/xattr by default which is
present in the build due to a lack of sandboxing on darwin. That xattr
version however still requires Python 2.7 whereas Python 3.8 is in PATH
in our build. We solve this by setting the XATTR environment variable.

We can't use python3Packages.xattr since GHC expects Apple's fork of
xattr which provides some extra flags to utilize.

Co-authored-by: Cheng Shao <cheng.shao@tweag.io>
2021-08-14 17:12:39 +02:00
sternenseemann
124d658eff haskellPackages.{cabal-install, cabal-install-parsers}: use Cabal 3.6.0.0
Try using the latest and greatest version Cabal for cabal-install and
cabal-install-parsers, we'll see how it goes.
2021-08-07 16:23:10 +02:00