Commit Graph

476 Commits

Author SHA1 Message Date
maralorn
968cfdab4a
Merge pull request #209543 from trofi/tasty-fix-on-i686
pkgsi686Linux.haskellPackages.tasty: pull missing unbounded-delays pa…
2023-01-07 22:29:40 +01:00
Sergei Trofimovich
6d724cfb0a pkgsi686Linux.haskellPackages.tasty: pull missing unbounded-delays package
The package is needed by tasty on a subset of architectures. Quoting
upstream `.cabal` file:

  if(!arch(x86_64) && !arch(aarch64))
    build-depends:
      unbounded-delays >= 0.1

This fails the build on i686 (a wine depend via shellcheck):

    Setup: Encountered missing or private dependencies:
      unbounded-delays >=0.1

The change pulls unbounded-delays for mentioned targets.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-01-07 20:37:48 +00:00
Domen Kožar
316f093b4e nix-diff: fix build 2023-01-07 09:34:44 +00:00
Dennis Gosnell
33be6f87f2
Merge pull request #209362 from amesgen/nvfetcher-docker
nvfetcher: add nix-prefetch-docker to PATH
2023-01-07 09:37:30 +09:00
Domen Kožar
9f873b90fa
Merge branch 'master' into haskell-updates 2023-01-06 20:20:58 +00:00
amesgen
ca966310f5
nvfetcher: add nix-prefetch-docker to PATH 2023-01-06 20:37:02 +01:00
Domen Kožar
647686f98a cachix: fix build 2023-01-06 19:31:38 +00:00
Domen Kožar
9ff4f40cb2
Merge pull request #204481 from Artturin/removenixvers1
nixVersion.nix_{2_6,2_7,2_8,2_9}: remove
2023-01-06 18:51:52 +00:00
Artur Cygan
b80c4e945d haskellPackages: unbreak hevm 2022-12-31 14:20:47 +01:00
maralorn
3b14e60bab haskell-language-server: Fix build for 1.9.0.0 for all ghc versions 2022-12-30 17:21:48 +01:00
maralorn
aaf6118fd5 haskell-language-server: Fix build for 1.9.0.0 2022-12-30 09:15:23 +01:00
Artturin
b9e503a35e cachix,hercules-ci-{agent,cnix-expr,cnix-store}: bump nix pin to 2_10 2022-12-28 16:24:54 +02:00
maralorn
65ffdcabee neuron-notes: Remove 2022-12-19 11:33:57 +01:00
Dennis Gosnell
7a8c0c6dd5
Merge remote-tracking branch 'origin/master' into haskell-updates 2022-12-18 21:09:16 +09:00
Domen Kožar
6c3fbca325 cachix: 1.0.1 -> 1.1 2022-12-18 09:43:08 +00:00
maralorn
95bf258d3e haskellPackages.hls-pragmas-plugin: Disable flaky test 2022-12-17 00:17:34 +01:00
Dennis Gosnell
63ad94602d
spago: mark broken in ghc92 2022-11-26 02:28:54 -05:00
sternenseemann
07ac1b4fa0 haskellPackages.tasty-discover: disable broken test suite 2022-11-24 15:37:59 +01:00
Artur Cygan
5b4ed2a6aa haskellPackages: configuration cleanup 2022-11-24 01:36:43 +01:00
Naïm Favier
ea84ce7593
haskellPackages: fixes 2022-11-21 15:32:41 +01:00
maralorn
7e53f5f41c haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
maralorn
8b4a5f4d3e emanote: init at 0.8.0.0 2022-11-05 00:29:53 +01:00
Weijia Wang
9d697a3be3 haskellPackages.*: disable postgresql tests on darwin
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2022-10-30 16:45:51 +01:00
sternenseemann
6451493ab5 haskellPackages.citeproc: enable executable installed to bin output 2022-10-29 20:08:55 +02:00
sternenseemann
270246ddd9 haskellPackages: adapt to process 1.6.15.0 -> 1.6.16.0 2022-10-27 22:11:24 +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
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
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
maralorn
bc5a846851 haskellPackages.ghcide-bench: dontCheck 2022-09-21 17:40:09 +02:00
maralorn
7c2fda45cc haskell-language-server: 1.7.0.0 -> 1.8.0.0 2022-09-21 05:23:07 +02:00
maralorn
cbb22921db haskellPackages.hie-bios: Remove unused 0.5.0 override 2022-09-20 02:49:53 +02:00
maralorn
6f241f7cec haskellPackages: Move permanent overrides to configuration.nix 2022-09-20 02:49:53 +02:00
sternenseemann
75f79c209a haskellPackages.xmonad: drop upstreamed Nix compat patch
We had a long standing downstream patch for XMonad allowing us to
override the ghc and xmessage binaries used. That has been upstreamed
and released in 0.17.1 and we can drop it!

* patch upstreamed in https://github.com/xmonad/xmonad/pull/409
* downstream patch adjusted in https://github.com/NixOS/nixpkgs/pull/184784
2022-09-14 16:14:31 +02:00
Dennis Gosnell
0f61ca9309
Merge pull request #190144 from arcz/echidna-2.0.2
echidna: 1.7.3 -> 2.0.2
2022-09-09 16:22:50 -04:00
sternenseemann
cab5dc490e haskellPackages.evdev: disable test broken by sandbox
Closes #189673.
2022-09-09 19:50:42 +02:00
Artur Cygan
6cabaded4a echidna: 1.7.3 -> 2.0.2 2022-09-08 23:02:35 +02:00
Alexander Bondarenko
ae39c7af41 haskellPackages.keid-render-basic: Fix missing build tool 2022-09-02 14:47:13 +03:00
sternenseemann
42e16cc0c0 haskellPackages.Cabal_3_8_1_0: allow building directly
Depending on this of course may spell trouble if one also depends on
process or Cabal-syntax (transitively).
2022-08-27 10:01:54 +02:00
sternenseemann
83ef7d40be haskellPackages: move misplaced overrides out of HLS section 2022-08-27 09:53:55 +02:00
sternenseemann
4ad395f0c9 cabal-install: adapt to changes for 3.8.1.0
https://github.com/haskell/cabal/blob/cabal-install-v3.8.1.0/release-notes/cabal-install-3.8.1.0.md
2022-08-20 12:48:04 +02:00
someodd
14c05dc6ac libjwt-typed: unbreak with minor changes
Unbreak libjwt-typed. Succesfully built using:

  env NIXPKGS_ALLOW_BROKEN=1 nix-build --no-out-link -A haskellPackages.libjwt-typed

This was accomplished by removing dependency
bounds, skipping tests, and adding the libjwt
librarySystemDepends.

Removed `broken` status from libjwt-typed.

I have not tested using what was built in the
nix-build command above in a local project.
2022-08-08 15:18:58 -07:00
sternenseemann
120a70d038 haskellPackages.cabal-hoogle: disable cabal v2 layout dependent test 2022-07-31 12:50:28 +02:00
sternenseemann
74010c525b haskellPackages.aws: drop upstreamed patches
Joey Hess is now a co-maintainer upstream and has created a release with
the aeson 2.0 patches included.
2022-07-27 17:12:24 +02:00
Alex Wied
4b33be0c18 haskellPackages.nfc: 0.1.0 -> 0.1.1 2022-07-26 21:08:31 +02:00
Malte Brandy
759fed34c0 haskellPackages.hls-ormolu-plugin: Disable flaky test 2022-07-25 22:58:20 +02:00
Jade Lovelace
aa41b54e51 haskellPackages.aeson-typescript: fix the testsuite and unbreak 2022-07-23 10:19:57 -07:00
Atemu
7e9e6145e6 git-annex: wrap with lsof
Required by the assistant at runtime:

```
$ nix-shell --pure -p git git-annex
$ git annex assistant
git-annex: The lsof command is needed for watch mode to be safe, and is not in PATH.
To override lsof checks to ensure that files are not open for writing
when added to the annex, you can use --force
Be warned: This can corrupt data in the annex, and make fsck complain.
```
2022-07-18 21:45:45 +02:00
Atemu
9c98a3908d git-annex: wrap with coreutils on all platforms
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2022-07-18 21:45:36 +02:00
Robert Vollmert
4cd2df0a47 haskellPackages.hasql-dynamic-statements: skip db dependent tests 2022-07-13 00:03:16 +02:00
Robert Vollmert
85dfc90f5a haskellPackages: collect hasql test overrides in one place 2022-07-12 23:55:28 +02:00
Bernardo Meurer
c15e73a012 hercules-ci-{agent,cnix-expr,cnix-store}: pin to nix_2_9 2022-06-29 11:17:49 -04:00
Bernardo Meurer
956dd00dc7 cachix: pin to nix_2_9 2022-06-29 11:17:49 -04:00
sternenseemann
a4ec946a2f haskellPackages.arbtt: provide tzdata for test suite 2022-06-19 14:15:27 +02:00
sternenseemann
417f36e652 haskellPackages: utilise supported-platforms and platform groups 2022-06-18 11:26:52 +02:00
sternenseemann
d826ebc5a8 haskellPackages.aws-sns-verify: disable network dependent tests 2022-06-07 21:14:28 +02:00
sternenseemann
28e9666850 haskell.packages.ghc923.fourmolu: 0.6.0.0 -> 0.7.0.1 2022-06-04 12:12:43 +02:00
Malte Brandy
a3fd4a26ce haskellPackages.hls-rename-plugin: disable flaky test 2022-05-26 11:55:58 +02:00
Malte Brandy
a2a2be0ca7 haskellPackages.spago: pin bower-json 2022-05-21 12:28:39 +02:00
midchildan
12feb97923
nvfetcher: add missing dependency 2022-05-13 13:36:36 +09:00
Dennis Gosnell
56c72fce7d
spago: get working by using aeson-1.5.6.0 2022-04-19 23:33:53 +09:00
Robert Hensing
b3886428c1 haskellPackages.hercules-ci-cnix-expr: Fix test
It needs git during tests now.
2022-04-11 00:38:10 +02:00
sternenseemann
3bde757613 haskellPackages.hint: disable tests
These currently fail when trying to execute cabal-install, interestingly
with EFAULT.
2022-04-07 02:44:17 +02:00
sternenseemann
216f2754c5 niv: build using up to date dependencies
Upstream finally cut a new release with some adjustments allowing niv to
be built using the Stackage LTS solver.
2022-04-07 02:01:33 +02:00
Robert Hensing
0a21bcdb86 haskellPackages.hercules-ci-*: Rely on cabal-pkg-config-version-hook 2022-03-31 17:30:52 +02:00
Robert Hensing
fe488cab7f haskellPackages.{cachix,hercules-ci-*}: nix_2_4 -> nix_2_7 2022-03-31 17:29:49 +02:00
sternenseemann
f926804016 haskellPackages.sbv: provide new solvers for version 8.17
* Newly added are bitwuzla and cvc5 (unpackaged at the moment)

* Refactor sed expression disabling solves we don't provide in the test
  suite.

* Stop conditionally disabling z3 solver on aarch64, seems there is no
  reason for it anymore.
2022-03-27 01:00:34 +01:00
sternenseemann
617b53c75f Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-17 17:57:37 +01:00
Michael Schneider
dd8cebebbf haskellPackages.persistent-migration: disable integration tests
No PostgreSQL db in the build sandbox.
2022-03-17 17:57:04 +01:00
Malte Brandy
bb72482cc3 haskell-language-server: Disable more flaky tests 2022-03-15 14:14:49 +01:00
github-actions[bot]
05e2709249
Merge master into haskell-updates 2022-03-09 00:10:37 +00:00
Malte Brandy
de687e6c8e nix-output-monitor: 1.0.5.0 -> 1.1.1.0 2022-03-08 14:16:48 +01:00
sternenseemann
873e8a602d haskellPackages.hls-class-plugin: fix attribute redefinition 2022-03-03 12:36:41 +01:00
Malte Brandy
6f2d495316 haskellPackages.hls-class-plugin: Disable flaky test. 2022-03-03 02:45:08 +01:00
Adomas Jatužis
f4828172d7 haskellPackages.xmonad-dbus: unbreak
it requires a running dbus session while running its tests which is not
available in nix sandbox
2022-02-26 12:31:15 +01:00
Dennis Gosnell
6b03b385a9
haskell.packages.ghc8107.pantry_0_5_2_1: add package
This adds pantry_0_5_2_1, which currently only works with ghc8107.
This is for supporting stack-2.7.3.
2022-02-23 21:32:50 +09:00
Malte Brandy
77b623d5a2 haskell-language-server: Fix build 2022-02-21 00:59:59 +01:00
sternenseemann
dd0c4562f9 haskellPackages.xmonad: use appropriate patch for >= 0.17
We already had a xmonad-nix.patch for XMonad 0.17, so it's just a matter
of using it. The old patch for 0.16 can be dropped as well, since we no
longer ship that version.
2022-02-20 22:41:18 +01:00
sternenseemann
65454750ce haskellPackages: fix evaluation with stackage nightly 2022-02-17
I've tried to be conservative and only clean up things that broke eval
which in most cases had to do with uses of versioned packages that have
become the default in Stackage Nightly now. There's probably still
potential for cleaning up some additional workarounds and likely there
are still a lot of new workarounds to be found once we know about the
build failures.

Also note that clean eval only means that nix-env doesn't fail.

Notes:

* HLS now lacks the stylish-haskell and britanny plugins by default,
  since they don't support GHC 9.0.2. We'll need to re-enable them
  for GHC < 9.0.2
* A lot of uses of hspec 2.9.* can probably be removed, as 2.8.* which
  is used in Stackage Nightly is new enough for most packages.
2022-02-18 18:24:23 +01:00
sternenseemann
d550bbb3c7 haskellPackages.ihaskell: use enableSharedExecutable over adhoc flag 2022-02-14 18:36:53 +01:00
sternenseemann
52236bd4ae haskellPackages.haskell-language-server: fix shared build 2022-02-14 18:36:53 +01:00
github-actions[bot]
5c325c71b3
Merge master into haskell-updates 2022-02-09 00:08:15 +00:00
Dennis Gosnell
6c976d3099 spago: 0.20.4 -> 0.20.5 2022-02-08 11:55:00 -08:00
sternenseemann
6a6a2cdbe9 haskellPackages.ihaskell: use enableSharedExecutable over adhoc flag 2022-02-08 12:39:45 +01:00
sternenseemann
63e8fc415f haskellPackages.haskell-language-server: fix shared build 2022-02-08 12:30:46 +01:00
Malte Brandy
3302c41f7f haskell-language-server: Disable flaky tests for some plugins 2022-02-06 19:14:21 +01:00
Malte Brandy
11895db491 haskellPackages.haskell-language-server: Fix dependencies and refactor overrides 2022-02-05 03:12:50 +01:00
github-actions[bot]
97dcdd5e57
Merge master into haskell-updates 2022-02-04 00:08:07 +00:00
Dennis Gosnell
48c625215f
spago: 0.20.2 -> 0.20.4 2022-02-01 10:10:59 +09:00
sternenseemann
9875c91f04 haskellPackages.tz: drop upstreamed patch 2022-01-31 23:00:30 +01:00
Bernardo Meurer
3a7e6f7bd4
treewide: replace nix_2_4 with nixVersions.nix_2_4 2022-01-26 10:53:45 -08: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
Matthieu Coudron
89b3b42c78
hlint: add manpage (#155382) 2022-01-18 15:44:02 +01:00
sternenseemann
f3a3ddb87b haskellPackages.http-api-data-qq: disable network dependent test 2021-12-27 14:59:36 +01:00
sternenseemann
6a525a1ce6 haskellPackages.retrie: downgrade to 1.1.0.0 for GHC < 9.2
retrie 1.2.0.0 adds support for 9.2, but drops it for all prior
versions. haskell.packages.ghc921.retrie stays at 1.2.0.0.

haskell.packages.ghc921.ghc-exactprint: 0.6.4 -> 1.3.0
2021-12-21 23:32:51 +01:00
Artur Cygan
cd600120e3 haskellPackages.sbv: fix build on aarch64 2021-12-15 15:56:29 +01:00
sternenseemann
512c0ee78a haskellPackages.xmonad*_0_17_0: build on Hydra
Makes it easier to spot regressions and gives binary cache to downstream
users.
2021-12-01 18:25:28 +01:00
sternenseemann
6bdb60a405 haskellPackages.xmonad-extras_0_17_0: build with matching releases
Needs xmonad and xmonad-contrib of the same version.
2021-12-01 18:25:28 +01:00