Commit Graph

11765 Commits

Author SHA1 Message Date
sternenseemann
d65a8c283b haskellPackages: remove all references to removed versioned attrs
The bump to Stackage LTS 23 has removed these attributes because they
are the default version now (I've verified this manually). With this,
haskellPackages (haskell.packages.ghc98 only) evaluates successfully to
the satisfaction of nix-env(1).

WARNING: Builds where not tested, some of the removals may have broken
something. Also new eval failures of previously working attributes due
to (new) dependencies that are marked as broken were note addressed.
2025-01-08 19:30:09 +01:00
sternenseemann
10f1af0635 haskellPackages.gi_g*k_4: remove machinery
- Upstream has decided that gi-g*k == 4.* should be replaced by dedicated
  gi-g*k4 packages. The latest versions of gi-adwaita and gi-gsk use these
  already.

- gi-gtk == 4.0.12 and gi-gdk == 4.0.10 are compat packages
  forwarding (?) to the corresponding gi-g*k4 package. The gi_g*k_4
  alias is retained for now, but should be removed eventually.

WARNING: Builds are totally untested. Especiall gi-g*k may not work
correctly.
2025-01-08 19:30:09 +01:00
sternenseemann
430ee161c9 haskellPackages.postgresql-libpq: don't shuffle library*Depends
This approach no longer works as the latest version of postgresql-libpq
discovers its dependencies via conditionally included dependencies. This
mechanism doesn't work in nixpkgs at the moment, so we'll have to look
into that.

For now, we can remove the shuffling of dependencies which now causes an
evaluation error since librarySystemDepends is unset.
2025-01-08 19:30:09 +01:00
sternenseemann
a4a73418f0 haskellPackages.password: drop override
Upstream has addressed the issue we've been trying to work
around (darwin support). The upstream change is different and (iirc)
more correct. We'll have to wait and see if any new issues crop up.
2025-01-08 19:30:09 +01:00
sternenseemann
ad99400541 haskellPackages.ghc: 9.6.6 -> 9.8.4
This matches the update from Stackage LTS 22 -> 23 in 7ea7574c.

Regenerate the package set with compiler: ghc-9.8.3 passed to Cabal
using

  env \
    HACKAGE2NIX=/nix/store/57ivr7wj0bzgkgvgp6i1dsz5rbihy2an-cabal2nix-unstable-2024-12-31/bin/hackage2nix \
   bash ./maintainers/scripts/haskell/regenerate-hackage-packages.sh --fast

since cabal2nix-unstable doesn't build yet (I assume).
2025-01-08 19:30:09 +01:00
sternenseemann
93febf2ec0 haskellPackages.ghc-lib*: 9.10.1.20241103 -> 9.10.1.20250103 2025-01-08 19:30:09 +01:00
sternenseemann
c7920df25c haskell.packages.ghc98.semaphore-compat: mark as core package
This was an oversight when first adding GHC 9.8.1 which went unnoticed
because the package set contained semaphore-compat thanks to GHC 9.6 not
having it. Also, semaphore-compat is probably reinstallable.
2025-01-08 19:30:09 +01:00
sternenseemann
6d2e77f7c3 haskell.packages.ghc98: remove _some_ unnecessary version overrides
These overrides are obsolete since Stackage LTS ships these versions by
default. We need to urgently remove these overrides since they are
involved in packages that are exposed from `pkgs`, preventing us from
generating the package map for hackage2nix.
2025-01-08 19:30:09 +01:00
sternenseemann
9c47348bc9 pandoc_3_6: remove at 3.6
Stackage LTS 23 ships 3.6 as the default version. Note that adding this
attribute probably was not a great idea since it was never going to stay
around consistently.

Rather than repeating this situation, we should implement
https://github.com/NixOS/nixpkgs/issues/190542 for pandoc, ideally
getting help from e.g. the quarto maintainers. Ideally pkgs.pandoc would
be the latest pandoc.

WARNING: Build is completely untested, this change is mostly guesswork
so that pkgs.pandoc evals again to a point where we can generate the
package map for hackage2nix.
2025-01-08 19:30:09 +01:00
sternenseemann
707440405d haskellPackages.Cabal_3_14_*: 3.14.1.0 -> 3.14.1.1 2025-01-08 19:30:09 +01:00
sternenseemann
7e2a5a598c haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2025-01-08 19:30:09 +01:00
sternenseemann
aec8443097 haskellPackages: stackage LTS 22.43 -> LTS 23.3
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2025-01-08 19:30:09 +01:00
sternenseemann
9ba91047d1 haskell.packages.ghc9121.jailbreak-cabal: 1.4 -> 1.4.1
This allows us to build packages that set `jailbreak = true` with GHC
9.12. For other versions, this update doesn't change anything, so we can
avoid the rebuild (making this change potentially cherry-pickable onto
e.g. master or staging-next). The update will otherwise happen with a
normal bump of the hackage tarball, rendering this override obsolete.
2025-01-06 16:18:22 +01:00
Emily
ce64a32036 zeromq: fix static, pkgConfigModules, move to by-name (#349742) 2025-01-05 18:23:43 +00:00
github-actions[bot]
92e802b6a9 Merge e554bf1765 into haskell-updates 2025-01-05 12:55:45 +00:00
Peder Bergebakken Sundt
dbee3b0e98 Merge remote-tracking branch 'upstream/staging-next' into fix-merge-conflict-1735949935 2025-01-04 01:24:46 +01:00
maralorn
8918f21f1e haskellPackages.iCalendar: unbreak it (#370590) 2025-01-04 01:08:44 +01:00
mangoiv
febbc86150 haskellPackages: add mangoiv as maintainer 2025-01-03 15:38:20 +01:00
wrvsrx
8b9f68815b haskellPackages.iCalendar: unbreak it 2025-01-03 21:07:52 +08:00
maralorn
d3780c92e6 haskellPackages.libtorch-ffi: Fix the link to libtorch (#367998) 2025-01-03 13:44:36 +01:00
Lin Jian
6b9fe1cd61 haskellPackages.cabal-install: suppress error of missing local index 2025-01-02 13:22:58 +08:00
github-actions[bot]
c1bd49b1f3 Merge master into haskell-updates 2025-01-02 00:16:24 +00:00
github-actions[bot]
666690fdf4 Merge staging-next into staging 2025-01-01 18:05:06 +00:00
Junji Hashimoto
0145fac03b haskellPackages.sysinfo: Disable the test. Metrics are not collected properly on the sandbox of macOS. 2025-01-01 16:16:21 +09:00
Lin Jian
16677264ae nixos/kmonad: add a basic nixos test 2025-01-01 10:33:37 +08:00
sternenseemann
4f7efec851 haskell.packages.ghc96.htree: restrict to < 0.2 2024-12-31 23:06:13 +01:00
sternenseemann
e2c7e1cd41 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1810790](https://hydra.nixos.org/eval/1810790) of nixpkgs commit [b20733c](b20733c8c7) as of 2024-12-31 21:08 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-12-31 22:33:15 +01:00
sternenseemann
e73ff8c460 haskellPackages.nspace: disable tests 2024-12-31 22:03:32 +01:00
sternenseemann
048ee4d97c haskell.packages.ghc8107.ghc-source-gen: pin to 0.4.5.0
0.4.6.0 only supports >= 9.0 && < 9.11 which we can test now.

haskell.packages.ghc{902,...,9101}.ghc-source-gen: test on Hydra
2024-12-31 18:10:15 +01:00
sternenseemann
b20733c8c7 haskellPackages.cabal2nix-unstable: 2024-12-22 -> 2024-12-31
Adds support for some pkg config library names:

- libspa-0.2, libpipewire-0.3 from pipewire
- libnm from networkmanager
2024-12-31 14:38:47 +01:00
sternenseemann
8609c05e15 haskellPackages.alfred-margaret: remove stale broken flag 2024-12-31 14:38:13 +01:00
sternenseemann
a8f9a9f6fe haskellPackages.lawful-conversions: relax lower bounds of test suite 2024-12-31 13:40:42 +01:00
sternenseemann
3b4be0dc07 haskellPackages.provide: relax lower bound on lens 2024-12-31 13:40:42 +01:00
sternenseemann
c7a72e43b3 haskellPackages.pfile: allow hspec == 2.11.* 2024-12-31 13:38:29 +01:00
sternenseemann
31aab29bd8 haskellPackages.xz: make sure we are using pkgs.xz, allow tasty 1.4
lzma-static is deprecated in favor of xz which can finally be built
against the system library instead of vendoring and statically linking
xz in the Hackage package.

I've set all packages that vendor lzma somehow related to these packages
to dontDistribute since we don't really want to redistribute potentially
outdated versions of xz (maybe we should mark these as broken,
actually).
2024-12-31 13:38:29 +01:00
sternenseemann
164d44fcaf haskellPackages.libxml-sax: drop obsolete override
Upstream has fixed the implicit declarations in a new release. That
release also includes the test suite in the default package which
unfortunately segfaults, so the build is failing again.
2024-12-31 13:38:29 +01:00
github-actions[bot]
2fd0dc1a22 Merge master into haskell-updates 2024-12-31 00:16:21 +00:00
Adam Dinwoodie
bd98340542 docs: correct CODEOWNERS to OWNERS
Co-authored-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-12-30 22:39:00 +00:00
Adam Dinwoodie
bb72703fd9 docs: remove outdated references to CODEOWNERS
As of b01ca00aed (CODEOWNERS: Switch to alternate mechanism,
2024-10-10) and #336261, this repository doesn't use the GitHub
CODEOWNERS file, but instead has its own similar mechanism.  Remove and
update references to the CODEOWNERS file in various documentation files.
2024-12-30 22:08:49 +00:00
sternenseemann
00dc16708c haskell.packages.ghc910.ghc-lib: match with compiler version 2024-12-30 15:08:29 +01:00
Junji Hashimoto
ca85403559 haskellPackages.libtorch-ffi: Fix the link to libtorch 2024-12-29 07:25:23 +09:00
Sergei Trofimovich
595be4765c haskell.packages.ghc865Binary.exceptions: fix the eval
Without the change the eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
    error: attribute 'exceptions_0_10_8' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:97:16:
           96|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
           97|   exceptions = self.exceptions_0_10_8;
             |                ^
           98|
       Did you mean exceptions_0_10_9?

After the change the attribute builds successfully.
2024-12-28 20:35:42 +01:00
Sergei Trofimovich
93bd863fac haskell.packages.ghcjs.exceptions: fix the eval
$ nix build --no-link -f. haskell.packages.ghcjs.exceptions
    error:
       … in the left operand of the update (//) operator
         at pkgs/development/haskell-modules/lib/compose.nix:48:5:
           47|     ))
           48|     // {
             |     ^
           49|       overrideScope = scope: overrideCabal f (drv.overrideScope scope);

       error: attribute 'exceptions_0_10_8' missing
       at pkgs/development/haskell-modules/configuration-ghcjs-8.x.nix:43:26:
           42|   stm = doJailbreak self.stm_2_5_3_1;
           43|   exceptions = dontCheck self.exceptions_0_10_8;
             |                          ^
           44|
       Did you mean exceptions_0_10_9?
2024-12-28 20:35:31 +01:00
sternenseemann
ce8c020d97 git-annex: add missing symlinks to PATH in checkPhase
git-remote-annex is used in the test suite now, git-remote-tor-annex is
unused.
2024-12-28 13:37:53 +01:00
sternenseemann
542c92b9a5 haskellPackages.hevm: drop obsolete patches 2024-12-27 14:25:32 +01:00
Joseph Warren
7016a8c384 haskellPackages.opencascade-hs: provide non standard include dirs
As of [this PR](https://github.com/NixOS/cabal2nix/pull/630)
opencascade-hs does not require the dependency on opencascade-occt to be
manually specified. It does however still require the include path to be
defined.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-12-27 14:07:53 +01:00
sternenseemann
581f185b6c git-annex: update sha256 for 10.20241202 2024-12-27 13:12:31 +01:00
sternenseemann
817e2aee9f haskell.packages.ghc9121.tar: 0.5.1.1 -> 0.6.3.0 2024-12-27 13:09:23 +01:00
sternenseemann
64ce0e316c haskell.packages.ghc9121.call-stack: disable test suite
The test suite expects the behavior of Cabal < 3.12 and it seems
permissible to ignore it. Stackage also ignores this test suite (though
due to a dependency cycle, it seems).
2024-12-27 13:06:22 +01:00
sternenseemann
7c67b0608c haskell.packages.ghc912.primitive: 0.8.0.0 -> 0.9.0.0 2024-12-27 12:57:35 +01:00