Commit Graph

580 Commits

Author SHA1 Message Date
sternenseemann
34a7913a43 haskellPackages.minicurl: disable test suite accessing the network 2023-02-18 17:54:14 +01:00
Jason Yundt
b1bb9bb6c8 treewide: fix backwards smart apostrophes
According to the Unicode Standard, you should use U+2019 RIGHT SINGLE
QUOTATION MARK for apostrophes [1]. Before this change, some of the text
in this repo would use U+2018 LEFT SINGLE QUOTATION MARKs instead.

[1]: https://www.unicode.org/versions/Unicode15.0.0/ch06.pdf#G12411
2023-02-06 07:24:42 -05:00
Domen Kožar
5828698df6 cachix: fix build on darwin 2023-01-08 12:23:33 +00:00
Ilan Joselevich
6e082f222c
cachix,hercules-ci-{agent,cnix-expr,cnix-store}: bump nix pin to 2_12 2023-01-08 10:35:08 +02:00
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
sternenseemann
a9fb1cb78a haskellPackages.xmonad-contrib_0_17_0: mv override closer to xmonad
Having everything in one place is going to make this a bit more maintainable.
2021-12-01 18:25:28 +01:00
Nick Hu
36d5761b3e haskellPackages.xmonad_0_17_0: respect NIX_GHC and XMONAD_XMESSAGE
Adds xmonad-nix.patch adjusted for xmonad 0.17.0.

Originally posted here: https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/5

Co-Authored-By: ento <ping@stillspinning.cc>
Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-12-01 18:25:28 +01:00
Ellie Hermaszewska
e4d170bc8f
Merge pull request #145124 from sternenseemann/graphviz-hardcode-store-paths 2021-12-01 16:54:35 +08:00
Malte Brandy
356698c493
haskell-language-server: Fix plugins for 1.5.0.0 2021-11-20 02:54:04 +01:00
sternenseemann
d4795c8efc haskellPackages.hasql-interpolate: disable tests (need running postgres) 2021-11-18 17:13:42 +01:00
sternenseemann
7d3dbec3cc haskellPackages.git-annex: move input overrides to configuration-nix 2021-11-14 20:56:43 +01:00
sternenseemann
3266c51421 haskellPackages.git-annex: refactor configuration-nix.nix overrides
Move everything into a single overrideCabal and express conditionality
using optionalAttrs. This should make it easier to add
more (un)conditional overrides in the future.
2021-11-14 20:56:43 +01:00
sternenseemann
bdaf941e39 haskellPackages.hercules-ci-*: fix eval with haskell.lib.compose
PR was merged after the switch to haskell.lib.compose by default, but
originally created before that day, so the argument order used was
completely wrong, but CI didn't show it, because its state was stale.
2021-11-14 16:36:30 +01:00
Domen Kožar
6fe99723d3
Merge pull request #145383 from hercules-ci/upgrade-cnix
hercules-ci-*, cachix: nix: 2.3 -> 2.4
2021-11-14 08:41:08 -06:00
Robert Hensing
f4c24b78d3 hercules-ci-*, cachix: nix: 2.3 -> 2.4 2021-11-11 11:45:47 +01:00
github-actions[bot]
da2c9c6eab
Merge master into haskell-updates 2021-11-10 00:07:08 +00:00
Bernardo Meurer
32c35c5164
haskellPackages.hercules-ci-agent: pin to nix_2_3 2021-11-09 10:47:18 -08:00
Bernardo Meurer
794d38995f
haskellPackages.hercules-ci-cnix-expr: pin to nix_2_3 2021-11-09 10:47:17 -08:00
Bernardo Meurer
7336444023
haskellPackages.hercules-ci-cnix-store: pin to nix_2_3 2021-11-09 10:47:16 -08:00
Bernardo Meurer
5bc981bed6
cachix: pin to nix_2_3 2021-11-09 10:47:15 -08:00
sternenseemann
f522c412d5 haskellPackages.graphviz: hardcode references to graphviz tools
This will make everything using graphviz just work without graphviz
having to be able from PATH (in a nix-shell or installed globally).
2021-11-08 23:11:06 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
sternenseemann
bde22ab96e haskellPackages.procex: only execute tests if Kernel >= 5.9
The compile time check for close_range support is broken fundamentally
at the moment (linux-headers is always 5.14, so it'll always assume
close_range is available, upstream is aware of this issue). As a
workaround, we disable the test suite if the kernel on the builder is
too old, allowing the package to still be built.
2021-10-13 12:31:31 +02:00
Robert Hensing
d25fa35e02 haskellPackages.hercules-ci-agent: Re-enable profiling
This override isn't needed anymore and breaks packages that
depend on it (and don't disable profiling).
2021-10-06 22:53:44 +02:00
Malte Brandy
c077f5ae57
haskell-language-server: Remove useless major version aliases
The aliases, like haskell-language-server-8.10 do not get discovered by the hls-wrapper.
Only `haskell-language-server` and e.g. `haskell-languag-server-8.10.7` work.
I got that wrong when introducing those aliases.
2021-10-04 22:05:38 +02:00
sternenseemann
2eab4d5c08 haskellPackages.hashes: fix build on non-x86
Some hash implementations in hashes are platform-specific (32 vs 64
bit), but only implemented in terms of “is i686 or x86_64?”. This it'll
always fail on other platforms (like aarch64). Consequently it makes no
sense to build and execute the test suite there, even if some hash
implementations are platform independent and could be tested.
2021-10-02 12:50:30 +02:00
Potato Hatsue
d55ffa5a2f haskellPackages.nvfetcher: disable check 2021-09-30 23:01:19 +02:00
sternenseemann
cdffe459d8 haskellPackages.hls-rename-plugin: provide necessary test env 2021-09-29 14:18:35 +02:00
sternenseemann
f42ab674ba haskellPackages.webkit: remove override for broken package
webkitgtk24x-gtk2 has been removed, but webkit doesn't compile anymore
these days, so we can save us maintaining this override. The “correct”
override would be webkitgtk (webkit is an alias form webkitgtk atm,
maybe we should introduce a libNixName thing in cabal2nix for this?)
if webkit compiled with modern dependencies…
2021-09-28 13:35:33 +02:00
sternenseemann
734e7564cb haskellPackages.websnap: webkit dependency is a haskell dependency
websnap actually depends on the haskell webkit package (which is
broken), so this override introducing a dependency on a removed package
is actually incorrect and can be removed.
2021-09-28 13:28:22 +02:00
sternenseemann
4db2830d07 haskellPackages.tz: fix tests for non-glibc platforms
tz's test suite (luckily only the test suite, it seems) relies on some
non-POSIX behavior of glibc which was easy enough to patch.
2021-09-26 20:27:25 +02:00
Malte Brandy
d9b9e0f9ae
haskellPackages.haskell-language-server: Use default plugin set 2021-09-18 01:12:53 +02:00
Malte Brandy
f2a3df2f30
haskell-language-server: Fix build for new version + cleanups 2021-09-14 01:04:39 +02:00
sternenseemann
fbf7db7aed haskellPackages.isocline: don't execute flawed test suite 2021-09-06 19:12:15 +02:00
Bryan Richter
a198f75258 haskellPackages.monomer: set dontCheck
Monomer's tests want a display, which currently isn't provided in the Nix sandbox.

I also reordered the other packages that are in the same boat so they're
all in one place.
2021-08-24 23:08:36 +02:00
Jade
b5c2212cdf haskellPackages.oidc-client: mark unbroken and disable spec
Their spec tests OpenID Connect against google.com, which does not work.
2021-08-19 11:42:28 +02:00
lassulus
3b1a6b95d4 haskellPackages.odbc: add freetds, unbreak 2021-08-16 13:10:42 +02:00
sternenseemann
22b39c2a36 haskellPackages.geomancy: restrict platforms to x86
Won't build on e. g. aarch64 due to its use of x86 architecture specific
features.
2021-08-06 15:03:34 +02:00
sternenseemann
c66cc62b6c haskellPackages.ats-format: ignore custom Setup.hs, install manually
ats-format has a custom Setup.hs which does the following using cli-setup:

* Add ~/.local/share/man to $MANPATH by editing shell configurations in $HOME.

* Install a man page into ~/.local/share

* Install a shell completion by editing shell configurations in $HOME.

We had a workaround to keep this from failing the build in the nix sandbox, but
this seemingly broke on darwin. To fix this once and forall, we force the use
of only `defaultMain` in Setup.hs and install the man page manually.
Additionally we generate completions and remove unnecessary extra references
from the closure.
2021-08-06 11:28:54 +02:00
sternenseemann
d288d874a8 haskellPackages.Agda: enable extra optimisations
See https://hackage.haskell.org/package/Agda-2.6.2/changelog
2021-07-14 22:51:07 +02:00
sternenseemann
377924dd7b haskellPackages: take (more) tool dependencies from buildPackages
Fix instances of tool dependencies coming from `self` or `pkgs`
instead of `self.buildHaskellPackages` or `pkgs.buildPackages`
respectively. This makes sure cross-evaluation and -compilation will
work although their may still be more kinks to work out (or cases I
missed). This change was mostly created by searching for `[tTool]` and
`\${` in the respective files.

Note that this has intentionally not been for test tool dependencies:
Like in `stdenv.mkDerivation` we need to view tests as being executed
on the *host platform* which is why we can't run tests while cross
compiling anyways. In practice this is not an important distinction,
though: `pkgs.buildPackages` and `pkgs` are almost identical in the
native case.

Resolves #127232.
2021-06-22 00:18:12 +02:00
sternenseemann
83220ad7b9 haskellPackages.cachix: move shell completion override to configuration-nix 2021-06-21 20:14:35 +02:00
(cdep)illabout
8ec3faac52
spago: patch for newer versions library 2021-06-21 13:33:24 +09:00
sternenseemann
0e9230fcce haskellPackages.rel8: make test suite work by providing postgres tools 2021-06-20 23:52:20 +02:00
Malte Brandy
a5052e1c6e
haskellPackages.haskell-language-server: Fix build for 1.2.0.0 2021-06-20 21:56:34 +02:00
sternenseemann
1be887ea3f haskellPackages.cabal2nix-unstable: wrap with runtime dependencies 2021-06-17 10:52:43 +02:00
(cdep)illabout
ff9db852f0
spago: set earlier dhall dependency 2021-06-14 10:48:56 +09:00
sternenseemann
35a73693f4 haskellPackages: remove deprecated aliases mysql and utillinux
These attribute names were converted into aliases in the following
changes:

* 62733b37b4
* https://github.com/NixOS/nixpkgs/pull/104776

cabal2nix-unstable has been updated to be aware of these changes in
7a9080d774, so these aliases should no
longer cause issues when evaluating with `allowAliases = false`.
2021-06-10 14:10:39 +02:00
Potato Hatsue
233087eb79 haskellPackages.nvfetcher: move overrideCabal to configuration-nix.nix 2021-06-10 09:50:57 +02:00
sternenseemann
e4d21886f4 haskellPackages.tophat: unbreak 2021-06-05 18:39:33 +02:00
sternenseemann
776e8fd668 haskellPackages.nri-redis: disable tests
They require a local redis daemon running.
2021-06-05 17:56:33 +02:00
Malte Brandy
51f2030430
haskellPackages.cabal2nix-unstable: Use justStaticExecutables 2021-06-05 16:55:24 +02:00
Potato Hatsue
471399b772
haskellPackages.arch-web: unbreak 2021-06-02 11:28:42 +08:00
(cdep)illabout
8f9f70446e
haskellPackages.dyre: fix build by removing out-dated patch and pulling from upstream 2021-05-20 16:14:45 +09:00
sternenseemann
20dd4577c7 haskellPackages: fix infinite recursion by disabling random's tests
random 1.2.0 has a new test suite with a lot of dependencies. Among
other packages it depends on doctest which depends on syb which depends
on tasty which depends on optparse-applicative which depends on
QuickCheck which depends on -- you guessed it -- random!

The cycle could be broken at any point of course, I've disabled the
tests on random here because it has seen the change that causes all
of this. However, we may also want to consider doing this for
optparse-applicative instead, since random seems like a more critical
package to run the tests for possibly? Not sure, looking for feedback.
2021-05-19 15:44:04 +02:00
Robert Schütz
be1e5f9698 haskellPackages.futhark: use python3 instead of python37 2021-05-18 18:43:37 +02:00
sternenseemann
c7e74545ee haskellPackages: fix eval of configuration-nix.nix 2021-05-18 18:12:18 +02:00
sternenseemann
cbaa1c8a59 haskellPackages.hw-prim-bits: restrict to x86
Requires x86 assembler, so no luck building it anywhere else.
2021-05-18 17:48:31 +02:00
sternenseemann
a9a5465f84 haskellPackages.inline-asm: restrict to x86
Main executable uses x86 assembler, so we can't build it anywhere at
all.
2021-05-18 17:46:04 +02:00
sternenseemann
84f49ed51f haskellPackages.iniline-asm: only test on x86
x86 assembler doesn't compile on aarch64 of course.
2021-05-18 17:08:42 +02:00
sternenseemann
d640ce886a haskellPackages.{blake3,seqalign,crc32c}: restrict platforms to x86
All of these packages use x86 intrinsics-related headers and don't
compile on non x86 platforms as a result.

These overrides should be refactored into the yaml configuration at some
point.

Resolves #122014.
2021-05-18 17:08:42 +02:00
sternenseemann
556821055f haskellPackages.taglib: add zlib to librarySystemDepends
Depends on zlib somehow (https://hydra.nixos.org/build/143009645/nixlog/1)
which is not declared in the cabal file.
2021-05-18 00:07:06 +02:00
Robert Schütz
957acfd89f haskellPackages.cut-the-crap: use ffmpeg instead of ffmpeg_3 2021-05-17 14:32:21 +02:00
(cdep)illabout
67ebe5ad6d
haskellPackages.scrypt: move platform override to hackage2nix configuration 2021-05-16 11:02:35 +09:00
Robert Schütz
31404dd2a2 haskellPackages.scrypt: only supports x86 2021-05-15 13:11:02 +02:00
sternenseemann
9232dcb0e5 haskellPackages.llvm-hs: note reason for llvm 9 pin 2021-05-08 19:56:05 +02:00
sternenseemann
312d3bf74b haskell.packages: move darwin-specific overrides into their own config 2021-05-08 19:56:05 +02:00
sternenseemann
e37a0ebc85 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-05-08 14:04:31 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Malte Brandy
58f8338e61
haskell-language-server: Fix build of multiple plugins 2021-05-08 01:05:37 +02:00
sternenseemann
4b137c9418 haskellPackages.hsignal: restrict platforms to x86
SSE(2) is an intel instruction set
2021-05-08 00:27:51 +02:00
Shlok Datye
d36f591349 haskellPackages.streamly-archive: unbreak
(The correct libarchive is now being passed into the package.)
2021-05-07 16:14:07 +02:00
Dennis Gosnell
f73c2278d0
Merge pull request #121970 from cdepillabout/spago-0.20.2
spago: 0.20.1 -> 0.20.2
2021-05-07 20:05:11 +09:00
sternenseemann
8c6c17b84e haskellPackages.cpuid: set accurate meta.platform value 2021-05-07 12:35:42 +02:00
(cdep)illabout
774b4d6783
spago: 0.20.1 -> 0.20.2 2021-05-07 10:27:27 +09:00
sternenseemann
d1d0c73dfb haskellPackages.FractalArt: add AppKit framework to dependencies 2021-05-06 20:06:05 +02:00
sternenseemann
0781c31545 haskellPackages.arbtt: add missing frameworks for darwin 2021-05-06 19:35:36 +02:00
sternenseemann
a51a542d60 haskellPackages: fix eval of darwin specific overrides 2021-05-06 18:14:00 +02:00
sternenseemann
da347ae251 haskellPackages.arbtt: pass Foundation on darwin 2021-05-06 18:03:16 +02:00
sternenseemann
6b1ec5695f haskellPackages.FractalArt: pass objc on darwin 2021-05-06 17:54:52 +02:00
sternenseemann
917524cb39 pinboard-notes-backup: justStaticExecutables, move overrides
Should reduce closure size and reduce the difference between top-level
and haskellPackages version of pinboard-notes-backup.
2021-05-04 16:40:08 +02:00
sternenseemann
caf7725f95 stutter: move overrides into configuration-nix.nix
Move necessary overrides into configuration-nix.nix, so there's no
discrepancy between stutter and haskellPackages.stutter.

However the build of stutter is still broken its dependency snipcheck
doesn't build with the pandoc version we have.
2021-05-04 14:29:55 +02:00
sternenseemann
990d12641e ihaskell: unbreak
Use upstream release.nix as an inspiration for the correct overrides to
fix RPATH issues and make tests run again.
2021-05-04 13:27:41 +02:00
(cdep)illabout
cba97fcde5
spago: 0.20.0 -> 0.20.1 2021-04-21 22:21:55 +09:00
(cdep)illabout
84902fa84a
spago: 0.19.0 -> 0.20.0 2021-04-09 23:47:09 +09:00
kolam
a83c45cbf6 haskellPackages.taskell: unbreak
Requires a jailbreak currently because the hackage version bounds are
somewhat outdated. Also regenerate the package set, so the next hydra
evaluation picks up on this.
2021-04-02 17:45:25 +02:00
Luis Chavarriaga
c2a60de9d9 gi-gtk-declarative: unbreak
Both gi-gtk-declarative and gi-gtk-declarative-app-simple build just fine.
But the test suites attempt to connect to the display.
2021-03-22 22:17:57 -05:00
Malte Brandy
69faa4c451
haskellPackages.prune-juice: Unbreak 2021-03-12 16:57:26 +01:00
Malte Brandy
1798bb77ab
haskellPackages.lsp-test: Remove obsolete dontCheck
lsp-test does not use hie anymore for tests
2021-03-12 15:36:20 +01:00
Peter Simons
83d011cc89 doctest-driver-gen: disable test suite to fix the build 2021-03-12 15:34:17 +01:00
Dennis Gosnell
36b42af29a haskellPackages.hadolint: add comment explaining override 2021-02-19 20:56:32 +01:00
Olli Helenius
d9443bf7cd haskellPackages.hadolint: fix build by disabling static linking
The `static` flag was enabled by default for 1.22.1:

  e1305042c6 (diff-e0ee4e21f8811c1171864cc68ea4005347b1b0ca70626026f251bf4111c2aa6e)

We need to disable it in nixpkgs.
2021-02-19 20:56:32 +01:00
Poscat
18e82ca47a Disable tests on haskellPackages.pixiv 2021-02-19 20:24:05 +01:00
Poscat
180ec7be87 Disable tests on haskellPackages.telegraph 2021-02-19 20:24:04 +01:00
Malte Brandy
bac09b7658 haskell-language-server: Use hackage version and cleanup 2021-02-05 23:04:46 +01:00
(cdep)illabout
f076ff3503 spago: fix build by specifying older version of dhall 2021-02-05 23:04:39 +01:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Poscat
3fa0bf026b
Break the following dependency cycles
(testdep)
1. tasty-hedgehog <-> tasty-expected-failure

              (testdep)
2. lifted-async ---> tasty-hedgehog -> hedgehog -> lifted-async
2021-01-12 17:09:27 +08:00
Peter Simons
3aae69103b Merge remote-tracking branch 'origin/master' into haskell-updates. 2021-01-11 10:56:52 +01:00
Dominik Xaver Hörl
25bef2d8f9 treewide: simplify pkgs.stdenv.lib -> pkgs.lib
The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
2021-01-10 20:12:06 +01:00