Commit Graph

5996 Commits

Author SHA1 Message Date
Malte Brandy
7f236bd4b2
hackage2nix: Split configuration, auto disable hydra builds
We split configuration-hackage2nix.yaml into multiple files.  We bump
cabal2nix-unstable to get support for multiple config files in
hackage2nix.

* The file main.yaml is only supposed to be edited by humans.
* The file stackage.yaml is only supposed to be updated by the
  update-stackage.sh
* The file broken.yaml can be edited by humans, but probably future
  helpers will want to insert broken packages into this file based on
  hydra reports.
* The file transitive-broken.yaml is newly introduced to be generated
  by regenerate-transitive-broken-packages.sh

regenerate-transitive-broken-packages.sh makes a nix query (in
transitive-broken-packages.nix) which evaluates all haskellPackages
once with and once without "allowBroken" this way it get's a list of
packages which are broken by some transitive dependency, but does not
disable packages which have eval errors not caused by a broken package.
2021-05-07 21:58:08 +02:00
Malte Brandy
d75130019b
haskellPackages.gi-*: Fix some builds 2021-05-07 21:42:42 +02:00
Malte Brandy
9fd589504e
haskellPackages.haskell-gi: Bump versions manually to still build with used C libs 2021-05-07 21:19:00 +02:00
Shlok Datye
b858ba8a7c haskellPackages.streamly-lmdb: unbreak
(The latest version of streamly-lmdb (0.2.1) is not broken at all.)
2021-05-07 20:16:43 +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
ffc669baf9 haskellPackages.haggle: unbreak
https://github.com/travitch/haggle/issues/4
2021-05-07 12:54:13 +02: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
a5a9833855 haskellPackages.vinyl: disable failing doctests on aarch64
This is the same linking bug as encountered with trifecta and ad.
Also group these cases together.
2021-05-06 17:45:52 +02:00
sternenseemann
73c2dd4aa6 petrinizer: fix build
* take z3 haskell package from haskellPackages
* take sbv 7.13 from haskellPackages, apply patch fixing build
  with GHC >= 8.8.8
2021-05-06 11:43:59 +02:00
sternenseemann
abf5583c5a haskellPackages.llvm-hs: disable tests on non-x86_64
Should fix build on aarch64, see linked issue.
2021-05-06 10:49:57 +02:00
sternenseemann
977ccbf6bf hedgewars: portability is limited by fpc 2021-05-05 22:45:52 +02:00
sternenseemann
f5865286fd haskellPackages.ad: fix build on aarch64
untested
2021-05-05 22:07:47 +02:00
sternenseemann
f5a9654af4 configuration-hackage2nix: fix typos, duplicate entries 2021-05-05 18:26:40 +02:00
sternenseemann
1c9ec1f3b3 haskellPackages: mark pkgs failing eval as unsupported on aarch64 / darwin 2021-05-05 18:16:29 +02:00
sternenseemann
2222050406 haskell.packages.ghc901.lens: bump to 5.0.1
Release 5 introduced GHC 9.0 compatibility, but hasn't hit stackage yet.
2021-05-05 15:26:23 +02:00
sternenseemann
20020d3ec8 haskellPackages.hnix: unbreak
The mystery build failure was caused by having the same instance as an
orphan and imported from ref-tf 0.5 (why ever that doesn't warrant a
logged error message…). The solution for this is
https://github.com/haskell-nix/hnix/pull/918, which sadly doesn't apply
cleanly on the hnix 0.12.0.1 tarball. Therefore I've backported the
patch until hnix hopefully gets a new hackage release soon.
2021-05-05 12:55:29 +02:00
sternenseemann
eb9b3a59f0 haskell.packages.ghc901: update to 5.6.2 to fix build 2021-05-05 11:45:52 +02:00
sternenseemann
fbe45054e4 haskellPackages.jsaddle: unbreak
Luckily, only version bounds with no weird GHC failures:
https://github.com/ghcjs/jsaddle/issues/123
2021-05-04 16:56:31 +02:00
sternenseemann
4da6569df4 haskellPackages.pinboard-notes-backup: add bdesham to maintainers 2021-05-04 16:40:08 +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
75f01ec909 yi: unbreak
yi-language: apply patch allowing newer regex-* dependencies
2021-05-04 16:06:57 +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
517662d02d haskellPackages.hyper-extra: unbreak
https://github.com/HeinrichApfelmus/hyper-haskell/issues/42
2021-05-04 13:59:26 +02:00
sternenseemann
794bc5e9ed haskellPackages.cabal2nix-unstable: rename from cabal2nix-latest 2021-05-04 13:38:46 +02:00
sternenseemann
e30cf42f0c haskellPackages.cabal2nix-latest: use unstable-YYYY-MM-DD format
This is the preferred format for things fetched from git or similar that
are not proper releases: https://nixos.org/manual/nixpkgs/stable/#sec-package-naming

Also we should think about making name and attribute name more
consistent: cabal2nix-latest -> cabal2nix-unstable
2021-05-04 13:38:46 +02:00
sternenseemann
648a5b14fb haskellPackages.ihaskell-{display,basic}: jailbreak
Version bounds on base are too strict:
https://github.com/gibiansky/IHaskell/issues/1217

Fixes evaluation of top-level ihaskell.
2021-05-04 13:34:35 +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
sternenseemann
96f573300f hackage-packages.nix: Regenerate based on current config 2021-05-04 12:47:11 +02:00
sternenseemann
5ca8d3570e haskellPackages.plots: unmark as broken 2021-05-04 12:44:10 +02:00
sternenseemann
63bcfc67e3 haskellPackages.diagrams-cairo: unbreak
https://github.com/diagrams/diagrams-cairo/issues/77
2021-05-04 12:43:40 +02:00
sternenseemann
e7e6727e9e configuration-hackage2nix.yaml: add myself as maintainer for flat 2021-05-04 11:05:36 +02:00
sternenseemann
008ecb1e82 haskellPackages.hledger-lib: remove unnecessary override 2021-05-04 10:23:16 +02:00
Malte Brandy
991041b33a
hackage-packages.nix: Regenerate based on current config 2021-05-03 23:01:56 +02:00
Malte Brandy
9b4dd31a38
configuration-hackage2nix.yaml: Changing Stackage pin to Nightly 2021-05-03 2021-05-03 22:59:55 +02:00
sternenseemann
9a2e728831 ghcWithPackages: set withLLVM if hostPlatform is not x86_64
We also don't add LLVM on PowerPC as GHC should have the ability to
generate native code for that platform itself.

Resolves #116235.
2021-05-03 10:42:52 +02:00
maralorn
5d4dc79acb
Merge pull request #121391 from maralorn/regenerate-haskell-packages
add maintainer scripts for haskell package generation
2021-05-02 10:27:47 +02:00
Dennis Gosnell
ba354d5ad8
haskell.lib.setBuildTargets: fix spelling in doc string 2021-05-02 13:35:08 +09:00
Isaac Shapira
d725ac7942
Add haskell.lib.setBuiltTarget, and support non library compiling of a single target 2021-05-02 13:35:07 +09:00
hyperfekt
f3f84855e8
maintainers/scripts/haskell/regenerate-hackage-packages.sh: init
Introduces a script that can be used to update the Nix expressions for

the Haskell package set. In service of that, also

- introduces cabal2nix-latest, which pins the hackage2nix version used

- changes all-cabal-hashes to use fetchFromGitHub

- adds update-hackage.sh & update-cabal2nix-latest.sh & update-stackage.sh maintainer scripts
2021-05-01 21:55:18 +02:00
Damien Cassou
ee30de13b7 haskellPackages.hyahtzee: un-mark as broken
Release 0.5 un-broke the package.
2021-05-01 13:43:53 +02:00
sternenseemann
c3af83f893 haskellPackages.database-class-id: unbreak 2021-05-01 13:31:26 +02:00
Niko Pavlinek
0906a93834 haskellPackages.pam: fix build 2021-05-01 11:01:56 +02:00
Peter Simons
37656dc208 git-annex: update sha256 hash for the new version 2021-04-30 20:45:03 +02:00