Commit Graph

293 Commits

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