Commit graph

140 commits

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