Commit Graph

9459 Commits

Author SHA1 Message Date
Alexandre Esteves
9036501ab5 haskellPackages.ghcjs-dom-hello: fix on darwin 2024-06-17 14:40:58 +02:00
Alexandre Esteves
78e2348b11 haskellPackages.jsaddle-hello: fix on darwin 2024-06-17 14:40:58 +02:00
Alexandre Esteves
128d0232cd haskellPackages.jsaddle-dom: remove override 2024-06-17 14:40:58 +02:00
Alexandre Esteves
5169cbeb91 haskellPackages.jsaddle-warp: fix on ghc 9.8 2024-06-17 14:40:58 +02:00
Alexandre Esteves
ca1281b9e9 haskellPackages.warp: fix build on darwin 2024-06-17 14:40:58 +02:00
maralorn
eb15303424
Merge pull request #320038 from slotThe/html-parse-unbreak
haskellPackages.html-parse: unbreak
2024-06-17 10:53:10 +02:00
Tony Zorman
1d68e8d620 haskellPackages.html-parse: unbreak 2024-06-17 10:14:08 +02:00
maralorn
180957a69d
Merge pull request #319890 from mpscholten/push-notify-apn-unbroken
haskellPackages.push-notify-apn: unbroken
2024-06-17 09:55:31 +02:00
tomberek
7070f7baf7
Merge pull request #319881 from tweag/set-extra-unmark-broken
haskellPackages.set-extra: unmark broken
2024-06-15 00:55:07 -04:00
Alexandre Esteves
cadb3d1df5 haskellPackages.ghcjs-dom: build on js backend of ghc 9.8 2024-06-14 23:02:10 +02:00
Marc Scholten
ceebde5c62 haskellPackages.push-notify-apn: unbroken
I took over maintainership of this package a while ago and fixed the
build errors in the latest hackage release
2024-06-14 12:59:14 -07:00
Silvan Mosberger
504729eeb4 haskellPackages.set-extra: Unmark broken
1.4.2 fixed [1] the previous build failure [2]

[1]: f41b2a5e80
[2]: https://hydra.nixos.org/build/252738545/nixlog/2
2024-06-14 21:04:43 +02:00
sternenseemann
076e3657a4 Merge master into haskell-updates 2024-06-13 00:58:47 +02:00
Robert Hensing
299bd6aa7c doc/haskell: Dedup and edit justStaticExecutables
Make sure all relevant info is in the user manual and avoid duplication
of efforts, or things going out of sync.
2024-06-13 00:25:41 +02:00
maralorn
e99a168498
Merge pull request #317451 from rnhmjoj/pr-haskell-fixes
Assorted haskellPackages fixes
2024-06-12 19:44:52 +02:00
github-actions[bot]
3f15695b1a
Merge master into haskell-updates 2024-06-12 00:13:53 +00:00
Pascal Wittmann
2a461c2d93
haskell.packages.*.yesod-csp: unbreak
builds fine since 2.6.0
2024-06-11 00:06:38 +02:00
Wolfgang Walther
e160c2afdd haskellPackages: build with RTS -A64M options
Those flags were not actually passed to GHC before, but to Setup.hs.

They were introduced in #86948. The related twitch live stream uses the
build of git-annex as a measurement. I get the following numbers when
building git-annex with doCheck = false:

 - for current master: 1:40 wall clock / 340s user
 - without any -A64M argument: 1:40 wall clock / 340s user
 - with this fix: 1:13 wall clock / 280s user

The idea was good, but the settings were never active.

More testing revealed that this seems to work on darwin just as well, so
we're removing the isLinux condition, too.
2024-06-10 15:34:31 +02:00
github-actions[bot]
51bd20f7c4
Merge master into haskell-updates 2024-06-10 00:14:27 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
sternenseemann
c23d3f1daf Merge branch master into haskell-updates 2024-06-09 01:36:13 +02:00
Wolfgang Walther
a24f97bf27 haskellPackages: Pass ghc-options in generic-builder when cross-compiling
The following sequence of operations loses ghc-options:
  Setup.hs configure --ghc-options
  Setup.hs build --with-ghc=...

This is described in [1].

The fix is simple: Don't pass --with-ghc in the build phase. The values
are taken from the configure step anyway. This seems to have been
introduced all the way back in 64ec4dd87b
about 8 years ago for unknown reasons.

Resolves #286285

[1]: https://github.com/haskell/cabal/issues/10069
2024-06-09 01:34:01 +02:00
Seth Speaks
fb516932c7 fix Spock-core haskellPackage 2024-06-08 22:29:58 +02:00
Alexandre Esteves
3fab5ebff0 haskellPackages.lens-sop: fix build 2024-06-08 22:29:57 +02:00
sternenseemann
1a818e3150 nvfetcher: prevent incorrect references on aarch64-darwin 2024-06-08 17:24:00 +02:00
sternenseemann
46638ff2da haskellPackages.cabal2nix-unstable: rem refs to GHC (aarch64-darwin) 2024-06-07 11:48:12 +02:00
sternenseemann
59b26ed060 gitit: set maintainers via hackage2nix exclusively 2024-06-07 11:18:28 +02:00
rnhmjoj
4636757b18
haskellPackages.scat: unbreak 2024-06-06 12:16:30 +02:00
sternenseemann
f166c7778c elmPackages.elmi-to-json: fix incorrect broken flag 2024-06-06 11:58:31 +02:00
Rebecca Turner
caa1c96996 cabal-install: Fix for justStaticExecutables
Fixes `cabal-install` to remove references to GHC, mostly through other
libraries that are included in the binary.

See: #304352

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-06-06 11:34:41 +02:00
rnhmjoj
9106eb8ad9
haskellPackages.selda: unbreak 2024-06-05 14:14:18 +02:00
rnhmjoj
1516a75687
haskellPackages.leveldb-haskell: unbreak 2024-06-05 14:14:17 +02:00
Marek Fajkus
6f29411d94
Merge pull request #315141 from sandydoo/fix-elm
elmPackages.elm: fix build failure on darwin
2024-06-05 09:09:01 +02:00
sternenseemann
bd6942679c haskell.packages.*.ghc-tags: unbreak
This just requires picking the right version of the package for all
compiler versions.
2024-06-04 14:51:22 +02:00
sternenseemann
8ff463e9fc haskell.packages.ghc90.ghc-lib*: use 9.2.* versions
This matches what we do for GHC 8.10.7 where we also can't build the 9.6
versions.
2024-06-04 14:49:56 +02:00
sternenseemann
b30eb6f3db haskell.packages.ghc98.ghc-lib: downgrade to match ghc-lib-parser*
I suspect that we'll be able to upgrade to 9.10.* for all three packages
after the next haskell-language-server update. I'll leave that to
maralorn.
2024-06-04 12:53:24 +02:00
Rebecca Turner
2901eb87d6 cabal2nix: Fix for justStaticExecutables
Remove references to `hpack` and `distribution-nixpkgs` paths so that
`cabal2nix` can build on macOS.

See: #304352
2024-06-04 01:20:08 +02:00
Alexandre Esteves
e26e621579 haskellPackages: add alexfmpe as maintainer 2024-06-02 14:04:56 +02:00
sternenseemann
d90232565e haskellPackages.ad: disable problematic test on x86_64-darwin
It is somewhat curious that it behaves differently exclusively here, but
I don't think it is necessary to stop shipping a package due to floating
point arithmetic error—it would be unreasonable to assume there were
none…

See https://github.com/ekmett/ad/issues/113.
2024-05-31 12:17:46 +02:00
sternenseemann
482ab92066 git-annex: pass setup package db to GHC used for building installer
After 120f24202b, GHC_PACKAGE_PATH isn't
set implicitly in installPhase anymore. Instead we achieve the same by
telling the Makefile the exact ghc command line to use.

As a benefit, we can now cleanly separate build and host in this case:
We used to (implicitly) reuse the host package db. Now we can explicitly
request the package db also used for building Setup.hs.
2024-05-28 18:47:22 +02:00
github-actions[bot]
0cad2ef6d6
Merge master into haskell-updates 2024-05-28 00:13:28 +00:00
sternenseemann
0454f7b8ee haskellPackages.mkDerivation: no rebuild w/o disallowedRequisites
This change ensures that packages won't be rebuild compared to before
the introduction of disallowedRequisites/disallowGhcReference unless
they use one of those arguments.

It may be nice to revert this in the future (via staging) for greater
simplicity, but will help with initial regression testing.
2024-05-27 21:08:16 +02:00
Rebecca Turner
d2618822ab haskell.lib.compose.justStaticExecutables: Forbid references to GHC
This makes `justStaticExecutables` error if the produced store path
contains references to GHC. This is almost always erroneous and due to
the generated `Paths_*` module being imported. This helps prevent
`justStaticExecutables` from producing binaries with closure sizes in
the gigabytes.

See: https://github.com/NixOS/nixpkgs/issues/164630

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-05-27 21:08:16 +02:00
Sander
9dd7a8222c
elmPackages.elm: fix build failure on darwin
Patches `crypton-x509-system` to use the full path to the `security`
binary.
2024-05-27 21:49:00 +04:00
Mathis
7042f95f88
haskellPackages.di-core: unbreak on darwin (#314627)
One of the tests is flaky and fails sometimes on darwin, linux builds
don't seem to be affected. This change removes the failing assert on
darwin.
2024-05-27 08:36:13 +00:00
sternenseemann
120f24202b haskellPackages.mkDerivation: limit GHC_PACKAGE_PATH to test suite
Previously, we would set GHC_PACKAGE_PATH after configure, the reasons
being that

1. Setup.hs configure forbids this from being set since it can make a
   build fail that would otherwise succeed (since it influences how
   GHC behaves when invoked by Cabal).
2. Setting GHC_PACKAGE_PATH being set is sound in our case, since
   we set it precisely to the packages available to Cabal at configure
   time, so there should be no room for a mismatch.
3. Some test suites require GHC_PACKAGE_PATH or GHC_ENVIRONMENT to be
   set, so they can invoke GHC(i) with build dependencies available.
   Cabal >= 3.12 forbids GHC_PACKAGE_PATH from being set after
   <https://github.com/haskell/cabal/commit/d6e38041a7c778fadf8f416>.
   Setting GHC_ENVIRONMENT would be possible, but is cumbersome without
   cabal-install (which has the handy cabal exec command which takes
   care of that). Additionally, it is not clear if it'll remain possible
   to do that: <https://github.com/haskell/cabal/issues/7792>.

Our solution to Cabal 3.12's change is to be more targeted about setting
GHC_PACKAGE_PATH: We _just_ set it for the actual test suite executable.
This can be achieved by using --test-wrapper which when given is invoked
by Cabal to run the test suite. Here we can set any environment
variables after Cabal has already done its environment checks. As long
as we don't do anything stupid, this should be unproblematic.

Users can also arbitrarily influence what GHC_PACKAGE_PATH will contain
using the NIX_GHC_PACKAGE_PATH_FOR_TEST environment variable. This is
un(der)documented for now, since I want to keep some wiggle room for
changing stuff in the coming weeks. Also it's rarely necessary to
actually touch this variable.
2024-05-26 16:01:21 +02:00
sternenseemann
d8550b8bbb haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1806530](https://hydra.nixos.org/eval/1806530) of nixpkgs commit [edc6c26](edc6c261ab) as of 2024-05-25 11:49 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-05-25 22:53:59 +02:00
github-actions[bot]
edc6c261ab
Merge master into haskell-updates 2024-05-25 00:13:23 +00:00
Domen Kožar
6a289d26e0 cachix: 1.7.3 -> 1.7.4 2024-05-24 12:24:13 +01:00
Julian Stecklina
07641f2966 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-05-23 11:47:43 +02:00