Commit Graph

7686 Commits

Author SHA1 Message Date
github-actions[bot]
aac580f88f
Merge master into staging-next 2022-10-20 00:05:13 +00:00
Rebecca Turner
e0f2f2b676
ormolu/fourmolu: Fix build on aarch64-darwin 2022-10-19 12:23:15 -04:00
Martin Weinelt
51fcbf5bb7 Merge remote-tracking branch 'origin/master' into staging-next 2022-10-16 00:18:40 +02:00
Dennis Gosnell
8ebb942007 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2022-10-15 11:55:44 -04:00
Dennis Gosnell
9dc664332a
Merge pull request #196137 from maralorn/nixos-unstable
nix-output-monitor: 1.1.3.0 -> 2.0.0.0
2022-10-15 10:48:10 -04:00
maralorn
c76bbaa0f5 nix-output-monitor: 1.1.3.0 -> 2.0.0.0 2022-10-15 15:28:37 +02:00
Dennis Gosnell
7135dabe18
Merge pull request #195540 from leifhelm/sv2v
sv2v: Remove restrictive bounds check
2022-10-14 12:03:32 -04:00
Jakob Leifhelm
8d0a5da007 haskellPackages.sv2v: Do Jailbreak 2022-10-14 11:12:53 -04:00
Markus Hauck
5b0a077481 haskellPackages.haskellish: unbreak 2022-10-14 08:54:44 +02:00
sternenseemann
ff920c5f7b haskellPackages.cabal2nix-unstable: 2022-07-22 -> 2022-10-10 2022-10-12 14:51:01 +02:00
sternenseemann
da5ca3c245 git-annex: update sha256 for 10.20221003 2022-10-12 12:58:28 +02:00
Martin Weinelt
9001f0dcd7
haskellPackages.xmonad-utils: fix build with libxcrypt 2022-10-09 18:14:33 +02:00
Martin Weinelt
2d19e7cf6b
haskellPackages.nano-cryptr: fix build with libxcrypt 2022-10-09 18:14:33 +02:00
Martin Weinelt
6f1812a595
haskellPackages.Unixutils: fix build with libxcrypt 2022-10-09 18:14:33 +02:00
Martin Weinelt
284396cf04
haskellPackages.crypt-sha512: fix build with libxcrypt
and disable tests due to different ehaviour exhibited compared to
glibc when a low number of rounds is passed.

https://github.com/phadej/crypt-sha512/issues/13
2022-10-09 18:14:32 +02:00
Dennis Gosnell
88c678cae8
haskell.packages.ghc942.cabal2nix: mark as broken on aarch64-linux 2022-10-09 12:02:41 -04:00
Dennis Gosnell
0f955bb63c
Merge pull request #195224 from dalpd/fix-snaplet-purescript
haskellPackages.snaplet-purescript: GHC9 compatibility
2022-10-09 10:07:59 -04:00
Deniz Alp Durmaz
903b57513e haskellPackages.snaplet-purescript: GHC9 compatibility 2022-10-09 14:51:24 +03:00
Deniz Alp Durmaz
26e666d33c haskellPackages.espial: Apply patch to work with GHC 9.X 2022-10-09 12:27:34 +03:00
Guillaume Bouchard
98715e1b1a lib.closePropagation: Remove the quadratic behavior in lib.closePropagation
The code of `lib.closePropagation` was internally using a
recursion on the dependencies and returns all the derivation directly or
indirectly referenced by buildInputs.

`lib.closeProgation` is implemented in pure nix and uses an unique
function for list which is quadratic and does "true" equality, which
needs deep set comparison.

Instead, we use the `builtins.genericClosure` which is implemented as a
builtin and uses a more efficient sorting feature.

Note that `genericClosure` needs a `key` to discriminate the values, we
used the `outPath` which is unique and orderable.

On benchmarks, it performs up to 15x time faster on a benchmark related
to haskellPackages.ghcWithPackages.
2022-10-07 18:03:42 +02:00
sternenseemann
9e9b7f4d99 haskell.lib.compose.addOptparseApplicativeCompletionScripts: remove
This function was deprecated when it was first added to
haskell.lib.compose, so we can probably safely drop it.
2022-10-07 00:37:53 +02:00
sternenseemann
ac1f1ad0e0 haskell: support cross in generateOptparseApplicativeCompletions
Deprecate haskell.lib{,.compose}.generateOptparseApplicativeCompletion*
in favor of the newly added
haskell.packages.*.generateOptparseApplicativeCompletions (plural!)
which takes into account whether we are cross-compiling or not. If we
are, generating completions is disabled, since we can't execute software
built for a different platform.

The move is necessary, so we can receive the /same/ stdenv as the
package we are overriding in order to accurately check whether we can
execute produced binaries.

Resolves #174040.
Resolves #49648.
2022-10-07 00:37:53 +02:00
sternenseemann
e7b47a72fe haskell.packages.ghc884.cabal-fmt: drop stale override
It is possible to get it to work again, but a bit annoying, so probably
not worth it. PRs fixing this again (if anyone needs it) will be
accepted.
2022-10-07 00:24:25 +02:00
maralorn
1fdd1a462b haskell.packages.ghc924.haskell-language-server: Fix eval by pinning ghc-exactprint 2022-10-06 01:13:30 +02:00
maralorn
dcda00d4ac haskell.packages.ghc942.haskell-language-server: Disable unsupported plugins to fix build 2022-10-06 00:52:38 +02:00
sternenseemann
d0474997c5 haskellPackages.gnuidn: unmark as broken 2022-10-05 23:46:41 +02:00
Dennis Gosnell
bbd00e8632 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2022-10-05 11:17:12 -04:00
Dennis Gosnell
bbcc162a42 haskellPackages: stackage LTS 19.25 -> LTS 19.27
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2022-10-05 11:15:15 -04:00
Dennis Gosnell
0cde97cbd9 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2022-10-05 10:36:08 -04:00
maralorn
56eb76f7af
Merge pull request #194426 from markus1189/haskell-updates
haskellPackages: Unbreak sint and stachmo
2022-10-05 11:26:02 +02:00
Dennis Gosnell
94643424ba
Merge pull request #194386 from nomeata/joachim/rec-def
haskellPackages.rec-def: Unbreak
2022-10-04 18:20:43 -04:00
Markus Hauck
5a55c0e512 haskellPackages.satchmo: unbreak 2022-10-04 16:01:59 +02:00
Markus Hauck
ebd659367f haskellPackages.sint: unbreak 2022-10-04 16:01:37 +02:00
Artur Cygan
0b4cd241e2 haskellPackages.webauthn: unbreak 2022-10-04 12:42:43 +02:00
Joachim Breitner
5ff268a184 haskellPackages.rec-def: Unbreak 2022-10-04 11:57:10 +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
sternenseemann
f486658da4 haskell.packages.ghc924.alex: remove obsolete override 2022-10-01 18:17:21 +02:00
sternenseemann
f1b0b727b4 all-cabal-hashes: 2022-09-28T11:00:39Z -> 2022-10-01T15:28:21Z
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.sh.
2022-10-01 17:35:56 +02:00
sternenseemann
ed1577d17d haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2022-10-01 13:01:51 +02:00
Dennis Gosnell
05e72e325c stack: use hpack-0.35.0 2022-09-29 12:34:47 -04:00
Dennis Gosnell
aea0833431 haskellPackages: sort extra package versions list 2022-09-29 10:32:11 -04:00
sternenseemann
ba34615202 git-annex: update sha256 for 10.20220927 2022-09-29 15:47:42 +02:00
maralorn
b677244af6 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2022-09-28 13:38:54 +02:00
maralorn
1ed0708ba1
Merge pull request #192540 from maralorn/hls-abi-wrapper
haskell-language-server: Add shell-wrapper which detects ABI incompatibilities
2022-09-28 13:35:29 +02:00
maralorn
52962fa0a8 haskell-language-server: Add shell-wrapper which detects ABI incompatibilities
This checks that ghc and its boot libraries have the same ABI at runtime as at compile time.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2022-09-28 13:33:32 +02:00
sternenseemann
12c22babec haskellPackages.servant-polysemy: mark as broken 2022-09-28 12:12:05 +02:00
sternenseemann
dec0fefd52 haskellPackages.disco: run offline tests only 2022-09-28 12:12:05 +02:00
sternenseemann
dcf7d06e39 haskellPackages.nix-serve-ng: fix build
* Workaround missing files in sdist
* Add missing undeclared boost dependency
2022-09-27 17:04:20 +02:00
sternenseemann
febe17fd07 haskellPackages.hs-mesos: remove stale override
pkgs.mesos was finally removed and the package hasn't been able to be
built for a while.
2022-09-27 16:23:26 +02:00
sternenseemann
2bfcff6711 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2022-09-27 16:05:11 +02:00