Commit graph

313 commits

Author SHA1 Message Date
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
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