Commit Graph

4957 Commits

Author SHA1 Message Date
Gabriel Gonzalez
8d2c08e774 Fix evaluation of cabal2nix
`cabal2nix` fails to evaluate due to attempting to
evaluate `pkgs.haskellPackages.hackage-db_2_1_0`, which
does not exist.  However, the default
`pkgs.haskellPackages.hackage-db` is already version 2.1.0,
so the fix is simple: go back to using the default version.
2020-03-30 19:24:01 -07:00
Peter Simons
a25c3fa290 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
e0bc864e0b.
2020-03-27 20:58:22 +01:00
Peter Simons
739f12ee3c hackage2nix: update list of broken packages 2020-03-27 20:56:53 +01:00
Mike Sperber
4e7639afa6 ghc-tcplugins-extra: include version 0.3.2
This is slightly outdated, required by polysemy-plugin, the actual fix
for this will be forthcoming as soon as hackage-packages.nix is
updated.
2020-03-27 20:56:53 +01:00
Robert Hensing
9a8d3ca542 hackage2nix: Restore arion-compose 2020-03-27 20:56:53 +01:00
Peter Simons
721b2929d7 LTS Haskell 15.5 2020-03-27 20:56:52 +01:00
Peter Simons
1b2b88671e haskell-fast-logger: fix the build with ghc-8.4.x 2020-03-20 21:12:16 +01:00
Peter Simons
3f0bc2e7c2 haskell-weeder: build with latest generic-lens 2020-03-20 21:12:16 +01:00
Samuel Evans-Powell
57874b620e prometheus: no need to jailbreak
- prometheus no longer needs to be jailbroken, removing 'doJailbreak'.
  Jailbreaking was added in
  https://github.com/NixOS/nixpkgs/pull/70956 to overcome issue
  https://github.com/bitnomial/prometheus/issues/34.
- This issue has since been fixed and so jailbreaking is no longer
  necessary.
2020-03-20 21:12:15 +01:00
Peter Simons
7ac3b76a9d hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
c8058db7cd.
2020-03-20 21:12:05 +01:00
Peter Simons
effc9fa337 hackage2nix: update list of broken packages
Ping @cdepillabout because purescript is broken.
Ping @kiwi because matterhorn is broken.
Ping @roberth because arion-compose is broken.
Ping @psibi because persistent-postgresql is broken.
2020-03-20 21:11:55 +01:00
Samuel Evans-Powell
049816b538 Remove "ekg-core" and "ekg-prometheus-adapter" from broken pkgs
- "ekg-core" and "ekg-prometheus-adapter" are no longer broken.
  Removed them from broken packages list.
2020-03-20 21:11:29 +01:00
Samuel Evans-Powell
11bc4ee748 tasty-tap: fix failing build
- tasty-tap's tests were failing. In
  https://github.com/NixOS/nixpkgs/pull/71017 a patch generated from a
  PR was applied to fix this.
- That PR has now been merged into tasty-tap and was released with
  version 0.1.0.
- tasty-tap is now at version 0.1.0 in nixpkgs and so the patch fails
  to apply, breaking the build.
- Removed the patch and removed tasty-tap from list of broken
  packages.
2020-03-20 21:11:29 +01:00
Peter Simons
bf42ec0297 LTS Haskell 15.4 2020-03-20 21:11:29 +01:00
Robert Kreuzer
920fdc012a Mark icepeak and sqlite-simple as non-broken 2020-03-20 21:07:56 +01:00
Robert Kreuzer
9b931dc86a icepeak: use haskell.lib.justStaticExecutables
Also, add myself to the maintainers section for Haskell modules coming
from Hackage.
2020-03-20 21:07:56 +01:00
Jared Tobin
6d071e7459 haskoin-core: remove from broken packages list
e1408eb661 unbreaks secp256k1-haskell, which was the cause of this
package's failure to build.
2020-03-20 21:07:56 +01:00
Jared Tobin
899629ba48 secp256k1-haskell: unbreak via override
This library simply needs libsecp256k1 in its pkgconfig-depends.
2020-03-20 21:07:56 +01:00
Peter Simons
d02ac6c485 git-annex: update sha256 hash for new version 8.20200309 2020-03-13 20:31:07 +01:00
Peter Simons
eb8d57786b hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
a1555380ba.
2020-03-13 20:30:55 +01:00
Peter Simons
68dba0d96b hackage2nix: update list of broken packages to fix evaluation 2020-03-13 20:24:54 +01:00
Peter Simons
9bcd5eaa0d haskellPackages: update default compiler from GHC version 8.8.2 to 8.8.3 2020-03-13 20:24:53 +01:00
Anders Kaseorg
838c7a80f7 haskellPackages.EdisonCore: Unbreak
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-03-13 20:24:53 +01:00
Poscat
ef65c6382d Unbreak ats-format 2020-03-13 20:24:53 +01:00
Poscat
d0eb52f5cd ats-pkg: Unbreak by disabling tests 2020-03-13 20:24:52 +01:00
Matt McHenry
7335de2dab persistent-mysql: fix build
tests need a running mysql instance, so disable them
2020-03-13 20:24:52 +01:00
timds
720d0c7803 saltine: fix build by disabling tests
The tests fail to compile because of a missing module but would
otherwise be fine.
2020-03-13 20:18:14 +01:00
Greg Hale
14f213a007 Remove snap from broken packages list 2020-03-13 20:18:14 +01:00
Georges Dubus
2645e1a1eb cabal2nix: split into a lightweight version and a wrapper
Current, the `cabal2nix` derivation contains both the executable, and a wrapper
that adds `nix` and `nix-prefetch-scripts`, which are required for some
features.

However, when calling `callCabal2nix` to create a derivation from a cabal file
at evaluation time,
these features are not actually used, but the huge closure of
`nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
still needs to be fetched.

This commit splits cabal2nix into a lightweight version that is a standalone
static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
dependencies in the path for full usage of the command line
utility (`cabal2nix`).

This commit also switches to the default ghc, to reduce the likelyhood of
building a different ghc when calling `callCabal2nix`.
2020-03-13 20:18:14 +01:00
timds
c2dcdea8c6 zxcvbn-dvorak: unmark as broken 2020-03-13 20:18:13 +01:00
timds
513fa25b17 zxcvbn-hs: unmark as broken 2020-03-13 20:18:13 +01:00
Peter Simons
beeb24f1e9 LTS Haskell 15.3 2020-03-13 20:18:13 +01:00
Peter Simons
6e2198bd52 haskell-ci: fix the build 2020-03-06 22:15:14 +01:00
Peter Simons
adcd693c2c haskell-cryptonite: disable the test suite to fix the build on older CPUs
Machines without AES-NI support cannot run the binary.
2020-03-06 22:15:14 +01:00
Peter Simons
46a81f9a15 haskell-binary-instances: disable test suite to avoid spurious failures 2020-03-06 22:15:13 +01:00
(cdep)illabout
354111dffb haskellPackages.pantry_0_2_0_0: Mark dontCheck 2020-03-06 22:15:13 +01:00
(cdep)illabout
9857e570e9 stack: Get building with old version of pantry 2020-03-06 22:15:13 +01:00
(cdep)illabout
39e8cc9c30 ormolu: remove unneeded override after bump to lts-15 2020-03-06 22:15:12 +01:00
(cdep)illabout
4e3b120db1 spago: unbreak after update to ghc-8.8.2 2020-03-06 22:15:12 +01:00
(cdep)illabout
7b6f436300 haskellPackages.dhall_1_29_0: disable tests since they access the network 2020-03-06 22:15:12 +01:00
(cdep)illabout
6fe6d3b077 haskellPackages.semver-range: disable tests on ghc88x 2020-03-06 22:15:11 +01:00
Peter Simons
71be218584 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-21-ga388e13 from Hackage revision
ed1012ae12.
2020-03-06 22:15:05 +01:00
Peter Simons
e7e936ff13 hackage2nix: disable Hydra builds that don't evaluate or fail 2020-03-06 22:14:51 +01:00
(cdep)illabout
17144b143b haskellPackages.github: mark unbroken 2020-03-06 21:44:29 +01:00
(cdep)illabout
f26fee6218 haskellPackages.binary-instances: mark unbroken 2020-03-06 21:44:29 +01:00
Gabor Greif
2c7128cb41 unbreak lsp-related packages
these work with GHC v8.8.2
2020-03-06 21:44:29 +01:00
Anders Kaseorg
e9f89e0fb6 haskellPackages.nixfmt: Unbreak
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-03-06 21:44:28 +01:00
Peter Simons
3cb572ef29 LTS Haskell 15.2 2020-03-06 21:44:28 +01:00
Ivan Malison
3a986cded9 haskellPackages.taffybar: Fix compilation with ghc882 2020-03-06 21:44:28 +01:00
(cdep)illabout
5682212ae0 haskellPackages.stack: get compiling with ghc882 2020-03-06 21:42:12 +01:00
(cdep)illabout
2610d5e762 haskellPackages.pantry: get building with ghc882 2020-03-06 21:42:11 +01:00
Dennis Gosnell
bd2c1d72c5
Merge pull request #80845 from obsidiansystems/work-on-multi-shellFor
haskell shellFor: Fix hoogle
2020-03-03 11:22:52 +09:00
Frederik Rietdijk
79217339d2 Merge master into staging-next 2020-02-29 15:29:11 +01:00
Peter Simons
10da6658ad ShellCheck: record the URL of the upstream issues our patches fix 2020-02-29 11:34:32 +01:00
Peter Simons
8947cba160 ShellCheck: let Hydra compile the binary 2020-02-29 11:11:24 +01:00
Peter Simons
376ff258b5 stylish-cabal: fix the build
We can still compile the package with ghc-8.6.5. Later
compiler versions don't work, unfortunately.
2020-02-29 11:10:19 +01:00
Peter Simons
a6130f1848 hackage2nix: mark stylish-cabal broken
https://github.com/pikajude/stylish-cabal/issues/12
2020-02-29 10:58:46 +01:00
Jonathan Ringer
87762c126a shellcheck: fix build 2020-02-28 16:22:11 -08:00
Peter Simons
e81ec2fa82 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-20-g1d0459f from Hackage revision
3ff0be5c9e.
2020-02-28 20:42:31 +01:00
Peter Simons
b5bf60e40c haskell-MissingH: add jailbreak to fix the build with ghc-8.8.x 2020-02-28 20:42:31 +01:00
Michael Alan Dorman
ef891b8a46 MissingH: use a version appropriate to our compiler
If you actually look at the changelog for 1.4.2.1, you'll see that it
mentions that it was only intended for ghc-7.0.4, which is why it has
a dependency on an inconveniently old version of `unix`, which
is *also* hidden behind a flag, so that we can't jailbreak it (per
https://github.com/peti/jailbreak-cabal/issues/15).

So the right thing to do would appear to me to be to override our
default version to 1.4.2.0, until such time as the maintainer makes a
newer release.

`ConfigFile` was collateral damage, so unmark it broken, as well as
`MissingH` itself.
2020-02-28 20:42:30 +01:00
Michael Alan Dorman
df8a0d64b5 json: remove obsolete patches that break the build
The patchs in question fail to apply against the current versoin, and
thus the package fails to build; `hasktags` is then collateral damage.

Remove reference to the patch and make sure neither package will be
marked broken going forward.
2020-02-28 20:42:30 +01:00
Peter Simons
219776992d git-annex: apply patch to fix the build with ghc-8.8.x
Unfortunately, we cannot compile git-annex with S3 support in an
LTS-15.x environment, because the 'aws' library hasn't updated to
version 3.x of the 'network' library [1]. I tried whether it's
possible to build git-annex with an older version of network, but
the amount of overrides we'd have to configure to accomplish that
got out of hand quickly. So I disabled aws support [2]. If you
need S3 support in git-annex, please help upstream to update
'aws' so that it builds with recent versions of 'network'.

[1] https://github.com/aristidb/aws/issues/264
[2] 1d0459f40e
2020-02-28 20:42:29 +01:00
Peter Simons
188587edf6 haskell-feed: disable test suite to fix the build
Upstream ships a messed up tarball that lacks the proper test files.
2020-02-28 20:42:29 +01:00
Peter Simons
045f95d9b9 git-annex: update sha256 hash for version 8.20200226 2020-02-28 20:42:29 +01:00
Peter Simons
482b910b72 haskell-streamly-bytestring: drop obsolete override 2020-02-28 20:42:28 +01:00
Peter Simons
c9b2100e0b hackage2nix: stick to older hackage-security version to make cabal-install happy 2020-02-28 20:42:28 +01:00
Peter Simons
7ecd6958b9 hackage2nix: update list of broken builds to fix evaluation 2020-02-28 20:42:28 +01:00
Peter Simons
111a1b868e haskell-ormolu: update override 2020-02-28 20:42:28 +01:00
Peter Simons
78a2350f2c haskell-construct: drop obsolete overrides 2020-02-28 20:42:27 +01:00
Peter Simons
73af2522be haskell-ChasingBottoms: jailbreak to fix build with ghc-8.10.x 2020-02-28 20:42:27 +01:00
Peter Simons
1299f72e8b haskell-spacecookie & matterhorn: clean up overrides 2020-02-28 20:42:27 +01:00
Peter Simons
9347a3e5be ghc-8.10.x: add overrides to fix regex-* packages 2020-02-28 20:42:26 +01:00
Peter Simons
ba190861e8 haskell-relude: avoid test suite failure when building with ghc-8.8.x 2020-02-28 20:42:26 +01:00
Peter Simons
95f15e7b31 haskell-polyparse: the latest version works with ghc-8.8.x 2020-02-28 20:42:26 +01:00
Justin Humm
5fb67fc448 haskellPackages.hakyll-contrib-hyphenation: jailbreak
Latest upstream commit is from 2015 [0], so I guess it's the easiest to
jailbreak it (as it builds that way).

[0] https://bitbucket.org/rvlm/hakyll-contrib-hyphenation/src/master/
2020-02-28 20:42:25 +01:00
Domen Kožar
21ded2d667 servant-server: fix build 2020-02-28 20:42:25 +01:00
Domen Kožar
16b8ab5329 haskellPackages.crpytonite: fix build 2020-02-28 20:42:24 +01:00
Peter Simons
7e5690c088 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-19-g1b9b3ef from Hackage revision
f2eea06cf2.
2020-02-28 20:42:15 +01:00
Peter Simons
49640dda72 hackage2nix: let's try to compile everything to see what works 2020-02-28 20:31:26 +01:00
Peter Simons
f95d327f4e haskell-primitive: avoid infinite recursion during evaluation 2020-02-28 20:31:26 +01:00
Peter Simons
93b4f52f2c haskellPackages: drop obsolete overrides that break evaluation 2020-02-28 20:31:26 +01:00
Silvan Mosberger
ef30908eef haskellPackages.streamly-bytestring: Fix build 2020-02-28 20:31:25 +01:00
Silvan Mosberger
b359080688 haskellPackages.construct: Fix build 2020-02-28 20:31:25 +01:00
Silvan Mosberger
87fc484219 haskellPackages.bitwise-enum: Fix build 2020-02-28 20:31:25 +01:00
Silvan Mosberger
df0392dc3c haskellPackages.Chart-tests: Fix build 2020-02-28 20:31:24 +01:00
Simon Chatterjee
fdb4ed35ed haskell-gtk2hs packges: fixes for building on Darwin
This includes two layered changes so the gtk2hs packages build on Darwin:

 - For `glib`, `gio`, `gtk`, `gtk3`, and `pango`: the fix for version 0.13.8.0
   from https://github.com/gtk2hs/gtk2hs/pull/293 . I expect at some point the
   referenced fix (or one like it) will be released and and brought into
   nixpkgs, at which point the override and patch files here can (in fact must)
   be removed.

 - For `gtk` and `gtk3`: also apply the required cabal flag cited in
   https://github.com/gtk2hs/gtk2hs/issues/249 to specify the Quartz rather than
   X11 backend (Quartz is the one that both nixpkgs and macOS support
   out-the-box). This override is likely to be wanted indefinitely.

Both modifications are required for a successful build of `gtk` or `gtk3` on
Darwin right now.
2020-02-28 20:31:24 +01:00
Domen Kožar
524535f185 configuration-ghc-8.8.x: fix eval 2020-02-28 20:31:24 +01:00
Simon Chatterjee
4f39597903 spago: fix Darwin build
This change gets round a weird permissions error on darwin
2020-02-28 20:31:23 +01:00
Simon Chatterjee
3d7b19344d haskell-cabal-fmt: override Cabal to version 3.0.x 2020-02-28 20:31:23 +01:00
Peter Simons
ee52b6ac68 haskell-brick: update overrides to the latest version 2020-02-28 20:31:23 +01:00
Peter Simons
79e53ba252 hackage2nix: update list of broken packages 2020-02-28 20:31:22 +01:00
Peter Simons
aba43b8c3e ghc-8.8.x: update override for lens to the latest version 2020-02-28 20:31:22 +01:00
(cdep)illabout
c44ded75fe haskellPackages.mplayer-spot: add runtime dependency on mplayer 2020-02-28 20:31:22 +01:00
(cdep)illabout
a0171c6439 haskellPackages.prettyprinter: make sure everything depends on this correctly 2020-02-28 20:31:22 +01:00
(cdep)illabout
025faad9a9 haskell.packages.ghc882.policeman: fix up ansi-terminal dep 2020-02-28 20:31:21 +01:00
(cdep)illabout
b6f45d056a haskellPackages.cabal-plan: fix up ansi-terminal dep 2020-02-28 20:31:21 +01:00
(cdep)illabout
b68c9dda98 spago: 0.13.1 -> 0.14.0 2020-02-28 20:31:21 +01:00
Christian Lütke-Stetzkamp
671db18e22 haskellPackages.hledger-flow: do not build static
Fixes #68840
2020-02-28 20:31:20 +01:00
Peter Simons
ea1aae15ae hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-19-g1b9b3ef from Hackage revision
2054fb03f4.
2020-02-28 20:31:20 +01:00
Christian Lütke-Stetzkamp
15d71ed75b hackage2nix: restrict gi-gdkx11 to versions below 4
... because gi-gdkx11-4.x requires gtk-4.x, which is still under
development and not yet available in Nixpkgs

Fixes #77588
2020-02-28 20:31:19 +01:00
Christian Lütke-Stetzkamp
cf8e796dd1 hackage2nix: mark taffybar as unbroken
...it builds because gi-gdkx11 is no longer broken

Fixes #63500
2020-02-28 20:31:19 +01:00
Christian Lütke-Stetzkamp
494124603a hackage2nix: mark http-streams not broken
Fixes #79227
2020-02-28 20:31:19 +01:00
Peter Simons
dbc7989d3f hackage2nix: update to ghc-8.8.2 for lts-15.x 2020-02-28 20:31:18 +01:00
Peter Simons
9bc4a358cf LTS Haskell 15.1 2020-02-28 20:31:13 +01:00
John Ericson
196682b175 Merge remote-tracking branch 'upstream/master' into work-on-multi-shellFor 2020-02-22 17:34:08 -05:00
John Ericson
1c07ee7925 haskell shellFor: Fix hoogle 2020-02-22 13:10:30 -05:00
Simon Chatterjee
019e86fde9
haskell generic-builder: fix Darwin regression for lmdb
Recent updates to the generic builder have caused haskellPackages.lmdb-simple to
fail to build on Darwin, since it cannot see the lmdb C dynamic library included
by its dependent haskellPackages.lmdb.

The C dynamic library has suffix `.so` not `.dylib`, so this fix allows for
that.

Closes #80190, but that issue may identify a preferable solution.
2020-02-17 09:41:31 +01:00
Silvan Mosberger
cfc21ad059
Revert "haskell generic-builder: fix Darwin regression for lmdb"
This reverts commit 8c58c44aae.

This causes a mass rebuild and should go to staging instead before
master
2020-02-17 09:36:53 +01:00
Simon Chatterjee
8c58c44aae haskell generic-builder: fix Darwin regression for lmdb
Recent updates to the generic builder have caused haskellPackages.lmdb-simple to
fail to build on Darwin, since it cannot see the lmdb C dynamic library included
by its dependent haskellPackages.lmdb.

The C dynamic library has suffix `.so` not `.dylib`, so this fix allows for
that.

Closes #80190, but that issue may identify a preferable solution.
2020-02-15 17:40:54 +00:00
Peter Simons
abd5926447 haskell-policeman: don't build this package with ghc-8.6.x 2020-02-07 20:55:41 +01:00
Peter Simons
e7dce63d54 haskell-cabal2spec: override Cabal to version 3.0.x 2020-02-07 20:44:24 +01:00
Peter Simons
04e3f52eb0 git-annex: update sha256 hash for new version 7.20200204 2020-02-07 20:38:00 +01:00
Peter Simons
38784c7916 ghc-lib-parser: update overrides for the latest version 2020-02-07 20:38:00 +01:00
Nathan van Doorn
c13abc9509 haskellPackages.perhaps: add link to pull request fixing dependencies 2020-02-07 20:37:59 +01:00
Peter Simons
92f21f7159 haskell-lens: use latest version when building with ghc-8.8.x 2020-02-07 20:37:59 +01:00
Peter Simons
44d258777c haskell-brick: update overrides to latest version 2020-02-07 20:37:59 +01:00
Peter Simons
ddb6d70051 haskell-js-flot: disable test suite to break infinite evaluation cycle 2020-02-07 20:37:58 +01:00
Peter Simons
0358bc066f hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-19-g1b9b3ef from Hackage revision
f57c80f238.
2020-02-07 20:37:52 +01:00
Peter Simons
86f1da3933 hackage2nix: update list of broken packages 2020-02-07 20:31:53 +01:00
Nathan van Doorn
eaca900965 haskellPackages.perhaps: jailbreak
It has an overly tight dependency on doctest.

I've removed it from the list of broken builds in the yaml and I've made
a PR upstream too.
2020-02-07 20:31:53 +01:00
Peter Simons
a87b506140 LTS Haskell 14.23 2020-02-07 20:31:52 +01:00
Bas van Dijk
1cbb793ec8 haskellPackages.servant: fix sha256
My build server which isn't using cache.nixos.org discovered an
outdated hash in servant:

```
trying https://github.com/haskell-servant/servant/archive/v0.16.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   132    0   132    0     0    616      0 --:--:-- --:--:-- --:--:--   616
100  295k    0  295k    0     0   269k      0 --:--:--  0:00:01 --:--:--  384k
unpacking source archive /build/v0.16.2.tar.gz
hash mismatch in fixed-output derivation '/nix/store/i6qgxlqf599wl11rd44jasgmwb78wr6c-source':
  wanted: sha256:0kqglih3rv12nmkzxvalhfaaafk4b2irvv9x5xmc48i1ns71y23l
  got:    sha256:0xk3czk3jhqjxhy0g8r2248m8yxgvmqhgn955k92z0h7p02lfs89
```
2020-02-07 10:12:49 +01:00
Peter Simons
f206eea2cf ghc-8.10.x: add a bunch of jailbreaks to fix builds 2020-01-31 22:13:06 +01:00
Peter Simons
a7712a1a31 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-16-g2971916 from Hackage revision
d77d0f7de2.
2020-01-31 21:39:55 +01:00
Peter Simons
5e90d04ee7 haskell-bustle: simplify the override now that those changes are in cabal2nix
Might be of interest to @jtojnar.
2020-01-31 21:38:10 +01:00
Peter Simons
6d068993b5 haskell-relude-6.0.0.0 does not pass its doctest suite 2020-01-31 21:05:56 +01:00
Peter Simons
6516c12dbe haskell-policeman: add overrides to provide newer versions of dependencies 2020-01-31 21:05:56 +01:00
Silvan Mosberger
8d4509e34d haskell generic-builder: Fix package conf handling
Previously the package conf files were handled without paying attention
to the fact that it's pretty-printed output. One problem was discovered
with GHC 8.8.1 on Darwin, where the dynamic-library-dirs first field
seems to have increased in length, meaning while before it was

    dynamic-library-dirs: some-small-directory-name
                          some-more-directories

Now it is

    dynamic-library-dirs:
        some-larger-directory-name
        some-more-directories

Which breaks the code installed for https://github.com/NixOS/nixpkgs/pull/25537,
because that assumed the former format, resulting in the reoccurence of
the bug in https://github.com/NixOS/nixpkgs/issues/22810, see
https://github.com/Infinisil/all-hies/issues/43

This commit fixes this by "unprettyfying" the package conf files before
processing them.

Closes https://github.com/NixOS/nixpkgs/pull/78738.
2020-01-31 21:05:56 +01:00
Peter Simons
2b10aed0d7 ghc-8.8.x: update version overrides for microlens packages 2020-01-31 21:05:56 +01:00
Peter Simons
135cc0c58d haskell-cabal-plan: update overrides for new version of base-compat 2020-01-31 21:05:55 +01:00
Jan Tojnar
4141619331 haskellPackages.bustle: fix building on Hydra
Bustle is proclaiming OtherLicense even though the code is licensed under LGPL 2.1+. This causes cabal2nix to set hydraPlatforms = stdenv.lib.platforms.none in hackage-packages.nix for the package.

Lets let's unset the attribute and fix the license.
2020-01-31 21:05:55 +01:00
Jan Tojnar
3430ded6c8 haskellPackages.bustle: clean up with lib.pipe 2020-01-31 21:05:55 +01:00
Peter Simons
8e8b8a5b6c hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-14-gb942b6a from Hackage revision
5556d14668.
2020-01-31 21:05:44 +01:00
Peter Simons
78d58f61c5 hackage2nix: update list of broken packages 2020-01-31 21:05:39 +01:00
Peter Simons
3b5f3d1cb1 LTS Haskell 14.22 2020-01-31 21:05:38 +01:00
Keito Kajitani
38149ff88d haskellPackages.dhall-json_1_6_1: prettyprinter_1_6_0 2020-01-31 21:47:07 +09:00
Luka Blaskovic
668b3e7de4 configuration-ghc-8.2.x: use default llvmPackages 2020-01-30 18:35:30 -05:00
Luka Blaskovic
4fa34c2283 llvm-general: remove 2020-01-30 18:35:29 -05:00
Peter Simons
26dbde5dbc haskell-pandoc: disable test suite when building with ghc-8.8.x
pandoc-2.9.1.1 fails 1 test.
2020-01-27 10:00:45 +01:00
Peter Simons
ade7cc1fd3 haskell-hlint: update override for new ghc-lib-parser-ex dependency 2020-01-24 21:02:44 +01:00
Peter Simons
15aa9dd0a3 haskell-prettyprinter: disable the failing test suite of version 1.6.0 2020-01-24 21:02:43 +01:00
Peter Simons
05a54d417b ghc-8.8.x: update overrides 2020-01-24 21:02:42 +01:00
Robert Djubek
bb3a93fdb5 matterhorn: init at 50200.6.0
Command line mattermost client
2020-01-24 21:02:42 +01:00
Robert Djubek
8e5d5bac2e glirc: 2.33.1 -> 2.34
Really this is a fix of the build because of the automatic version bump
2020-01-24 21:02:42 +01:00
Peter Simons
d8440b802e hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-14-gb942b6a from Hackage revision
ac7dcf389a.
2020-01-24 21:02:23 +01:00
Peter Simons
67e8740904 hackage2nix: update the list of broken packages 2020-01-24 21:02:15 +01:00
Peter Simons
2f4dea687c LTS Haskell 14.21 2020-01-24 21:02:15 +01:00
Matthew Bauer
07db0b248c Merge remote-tracking branch 'obsidiansystems/work-on-multi-shellFor' 2020-01-17 18:00:27 -05:00
Peter Simons
4758981603 haskell-ormolu: fix override for ghc-lib-parser 2020-01-17 21:14:34 +01:00
Peter Simons
fc1cafab42 haskell-dhall: update overrides for the new release
I dropped the override for dhall-to-cabal, because the package
is marked as broken already.
2020-01-17 21:14:34 +01:00
Peter Simons
8a5c2f6569 haskell-tls-session-manager: fix build with ghc-8.8.x 2020-01-17 21:14:34 +01:00
Peter Simons
8576e8b2c3 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-14-gb942b6a from Hackage revision
d1d0ee2298.
2020-01-17 21:14:33 +01:00
Peter Simons
40420dc313 haskell-doctemplates: provide the latest version when building pandoc 2.9.x 2020-01-17 21:14:33 +01:00
Peter Simons
672880966f haskell-ghc-lib-parser: update to latest version for hlint 2020-01-17 21:14:33 +01:00
Peter Simons
f3769d7015 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-14-gb942b6a from Hackage revision
b2812edaae.
2020-01-17 21:14:32 +01:00
Peter Simons
42273f0e67 hackage2nix: update list of broken packages 2020-01-17 21:14:32 +01:00
Peter Simons
cedb9c1c1c hackage2nix: honor LTS for lambdabot, but not for cabal2spec 2020-01-17 21:13:19 +01:00
Jacquin Mininger
7d67db3919 shellFor: Refactor for consistency and cross
This makes it work like work-on-multi from Reflex Platform. In
particular, rather than making `.env` from `shellFor`, we make `.env`
the primitive, and `shellFor` works by combining together the arguments
of all the packages to `generic-builder` and taking the `.env` of the
resulting mashup-package.

There are 2 benefits of this:

1. The dependency logic is deduplicated. generic builder just concatted
   lists, whereas all the envs until now would sieve apart haskell and
   system build inputs. Now, they both decide haskell vs system the same
   way: according to the argument list and without reflection.
   Consistency is good, especially because it mean that if the build
   works, the shell is more likely to work.

2. Cross is handled better. For native builds, because the
   `ghcWithPackages` calls would shadow, we through both the regular
   component (lib, exe, test, bench) haskell deps and Setup.hs haskell
   deps in the same `ghcWithPackages` call. But for cross builds we use
   `buildPackages.ghcWithPackages` to get the setup deps. This ensures
   everything works correctly.
2020-01-17 10:46:29 -05:00
John Ericson
ba9066abca Merge together merge bases of 19.09 and master 2020-01-15 18:54:36 -05:00
Peter Simons
29e871b2d0 haskell-krank: jailbreak to fix the build 2020-01-10 21:02:44 +01:00
Peter Simons
0685be711e git-annex: update sha256 hash for version 7.20191230 2020-01-10 20:56:20 +01:00
Peter Simons
4ef37f4210 haskell-hoogle: drop obsolete jailbreak
The latest version of hoogle accepts haskell-src-exts-1.23.x.
2020-01-10 20:56:20 +01:00
Peter Simons
7b8cdfabcd haskell-pandoc: update ghc-8.8.x override for the latest version 2020-01-10 20:56:20 +01:00
Peter Simons
1886028a3c haskell-tls: update ghc-8.8.x override for the latest version 2020-01-10 20:56:20 +01:00
Peter Simons
2c1f974db5 hackage2nix.yaml: update the comment that documents 'default-package-overrides' 2020-01-10 20:56:20 +01:00
(cdep)illabout
d11d55fd62 haskell: add comment to default-package-overrides in configuration-hackage2nix.yaml. 2020-01-10 20:56:20 +01:00
Merlin Göttlinger
900a378245 haskell: add quickjump option to the haskell mkDerivation
When visiting local documentation via hoogle, currently for most packages the
quickjump index is missing so you only get a sad error when pressing "s" to
search in the current documentation.

The quickjump option is only supported by the haddock utility that's shipped
with ghc 8.6.x or later.

Closes https://github.com/NixOS/nixpkgs/pull/75942.
2020-01-10 20:56:20 +01:00
Peter Simons
d8cf98b9c8 haskell-src-exts: update overrides for the new 1.23.0 version 2020-01-10 20:56:20 +01:00
Brian Hicks
dfa9d013e7 postgresql-typed: disable test suite
the test suite requires a running PostgreSQL instance to complete
successfully, so we'll just skip that.
2020-01-10 20:56:20 +01:00
Peter Simons
2514bddbf7 ghc-8.10.x: exceptions is now a core library that comes with the compiler 2020-01-10 20:56:19 +01:00
Peter Simons
2447c661d9 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-14-gb942b6a from Hackage revision
e75b27b8d5.
2020-01-10 20:56:08 +01:00
Marek Fajkus
efa816ab60 haskellPackages.hakyll-sass: unmark broken 2020-01-10 20:56:07 +01:00
Aditya Manthramurthy
cf2df51313 haskellPackages.webby: mark unbroken
Builds fine now.
2020-01-10 20:56:07 +01:00
Peter Simons
dbe97c772e hackage2nix: update list of broken builds 2020-01-10 20:56:07 +01:00
Peter Simons
323fe92057 LTS Haskell 14.20 2020-01-10 20:56:07 +01:00
Peter Simons
4a2aad0d39
Revert "haskell/with-packages-wrapper.nix: install "doc" outputs" 2020-01-10 15:20:08 +01:00
Alexander Foremny
9e808578c4 haskellPackages.ormolu: mark unbroken
Builds fine with 6b5bb4261c6dacbe65d348376c416c75ddafaebd
2020-01-10 14:54:33 +01:00
Alexander Foremny
47ddee700f haskellPackages.ormolu: fix overrides so it builds 2020-01-10 14:54:33 +01:00
Matthew Bauer
ddcaa0cd2f
Merge pull request #76842 from matthewbauer/add-doc-to-ghc-wrapper
haskell/with-packages-wrapper.nix: install "doc" outputs
2020-01-07 00:23:15 -05:00
Matthew Bauer
93aabab760 haskell/with-packages-wrapper.nix: remove /bin symlink if it exists
The wrapper need a writable directory to work, so remove the symlink
to a read-only one if it occurs.
2020-01-06 18:25:50 -05:00
Peter Simons
f2a218df59 git-annex: temporarily drop support for bup some more 2020-01-05 15:31:16 +01:00
Peter Simons
f172a19e79 git-annex: temporarily drop support for bup
The build is currently broken [1] and therefore blocks git-annex.

[1] https://github.com/NixOS/nixpkgs/issues/76979
2020-01-05 15:13:29 +01:00
Matthew Bauer
e915608618 haskell/with-packages-wrapper.nix: install "doc" outputs
We were previously just installing the "out" output which broke when
we recently changed to generating multiple outputs.

Fixes #76837
2020-01-02 16:12:46 -05:00
Frederik Rietdijk
555037a667 Merge master into staging-next 2019-12-31 16:35:53 +01:00
John Ericson
cfd013813e
Merge pull request #74090 from obsidiansystems/ghcjs-cross-without-cc
stdenv, haskell: bonafied GHCJS cross compilation without stdenv.cc
2019-12-30 16:40:43 -08:00
Robin Gloster
f9f46dc327
treewide: NIX_*_FLAGS -> string 2019-12-31 00:15:46 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Alexandre Esteves
af2eaec41a haskellPackages.multi-ghc-travis: add missing space (PR #76648) 2019-12-29 19:27:25 +01:00
Peter Simons
525b8cd3f6 ghc: add 8.10.1-alpha2 2019-12-27 20:58:23 +01:00
Peter Simons
fdd64fbc37 haskell-servant-{ekg,blaze}: jailbreak to fix the build 2019-12-27 20:37:13 +01:00
Peter Simons
4d403a3a51 haskell-ghcide: drop broken overrides
We made an effort to support ghcide in Nixpkgs, but the complexity of the
problem is a bit too high, IMHO. We need to keep older versions of several
packages around in order to satisfy the build requirements, and some of those
older packages don't even build themselves (like hie-bios). We had ghcide
working at some point, but then it was broken again right away after a couple
of days. I fear that we'll run into that issue again and again with a setup of
that complexity.

Instead, I'd propose that we work with upstream to fix their build, i.e. let's
make sure that the proper ghcide build works with recent versions of its build
inputs.

Closes https://github.com/NixOS/nixpkgs/pull/75449.
Closes https://github.com/NixOS/nixpkgs/pull/76103.
2019-12-27 20:37:13 +01:00
Peter Simons
4979823e46 git-annex: update sha256 hash for version 7.20191218 2019-12-27 20:37:13 +01:00
Peter Simons
dbcb34900a haskell-lsp-test: update override to the latest version 2019-12-27 20:37:13 +01:00
Peter Simons
6010ce05b7 pandoc: update override for the ghc-8.8.x to the latest version 2019-12-27 20:37:13 +01:00
Dmitry Kalinkin
c744527e3e gitAndTools.git-annex: fix darwin build
Closes: #76342
Fixes: #73435
2019-12-27 20:37:13 +01:00
(cdep)illabout
b7a5df05c3 spago: 0.12.1.0 -> 0.13.0 2019-12-27 20:37:13 +01:00
(cdep)illabout
54fad88234 haskellPackages.dhall_1_27_0: fix build 2019-12-27 20:37:13 +01:00
Merlin Göttlinger
693b68be7f haskell-lsp: Added 0.18.* to extra-packages for ghcide 2019-12-27 20:37:13 +01:00
(cdep)illabout
db1adfe3c8 haskellPackages.dhall_1_28_0: fix overrides so it builds
This PR fixes dhall_1_28_0, dhall-bash_1_0_25, and dhall-json_1_6_0 so
they build.

They all require a newer version of prettyprinter than we get from the
LTS package set.

This is from https://github.com/NixOS/nixpkgs/pull/75931 by @ijaketak.

Co-authored-by: Keito Kajitani <ijaketak@gmail.com>
2019-12-27 20:37:13 +01:00
Matt McHenry
9f053666ae haskellPackages.snap-server: patch for network >= 3.0 2019-12-27 20:37:13 +01:00
Robert Djubek
0787a562c4 glirc: init at 2.33.1
haskellPackages.glirc is a "Console IRC Client." I've added a doJailbreak
to fix the build (thanks @infinisil) and added it to top-level/all-packages.nix
so people can find and install it as they would normally.

Would be nice to make this build in a way that allows the OTR extension to be
enabled. One thing at a time....
2019-12-27 20:37:13 +01:00
Peter Simons
42e51bd42e hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-11-g2fb6f7e from Hackage revision
16e46fea2e.
2019-12-27 20:37:03 +01:00
(cdep)illabout
753a0d3f72 haskellPackages.dhall_1_27_0: generate this package
This adds dhall-1.27.0 to extra-packages in
configuration-hackage2nix.yaml.

dhall-1.27.0 is used by spago, so this package needs to be available.
2019-12-27 20:37:01 +01:00
Peter Simons
992de916ce hackage2nix: disable broken builds 2019-12-27 20:35:33 +01:00
Aditya Manthramurthy
aaf838d095 haskellPackages.postgresql-simple-url: mark unbroken
Builds fine now.
2019-12-27 20:35:33 +01:00
(cdep)illabout
c1be286ca2 haskellPackages.stack2cabal: mark unbroken 2019-12-27 20:35:33 +01:00
Peter Simons
b77ed68156 LTS Haskell 14.18 2019-12-27 20:35:33 +01:00
Peter Simons
3e2e061529 structured-haskell-mode: update github repo location 2019-12-27 18:42:56 +01:00
Peter Simons
c2ba83e98a haskell-descriptive: use the proper release version instead of the one from git
The released version has all the fixes we needed.
2019-12-27 18:37:42 +01:00
John Ericson
9cbbe2b00f Merge branch 'ghcjs-cross-without-cc-common' into ghcjs-cross-without-cc 2019-12-25 14:36:13 -05:00
John Ericson
d8dd301412 haskell generic-builder: Hack so CPP without a CC works 2019-12-25 14:34:40 -05:00
John Ericson
49daa0aa64 Merge branch 'ghcjs-cross-without-cc-common' into ghcjs-cross-without-cc 2019-12-25 13:17:00 -05:00
John Ericson
6a23c9ddbe haskell generic-builder: Fix --with-ghc flag for GHCJS as cross
Otherwise it passes `--with-ghc=ghc`, and we do the wrong thing.
2019-12-25 13:14:48 -05:00
John Ericson
a8bd27b454 Merge branch 'ghcjs-cross-without-cc-common' into ghcjs-cross-without-cc 2019-12-25 01:31:35 -05:00
John Ericson
ad93663a48 ghcWithHoogle: Fix for cross
Use `buildPackages.stdenv.mkDerivation` because we are making a shell
script to start hoogle on the build platform.
2019-12-24 18:17:41 -05:00
Niklas Hambüchen
4bf23ce6f9 haskellPackages.GLUT: Fix freeglut.pc -> glut.pc.
This was broken by PR #70235 with commit

    f5ae5cac - freeglut: 3.0.0 -> 3.2.1

The in the newer freeglut version, the pkg-config file is called
`glut.pc`, no longer `freeglut.pc`.

Found in:

    https://github.com/NixOS/nixpkgs/pull/70235#issuecomment-567536852
2019-12-20 02:52:54 +01:00
Peter Simons
9c01e123d6 haskell-src-meta: update ghc-8.8.x build to the latest version
This allows us to build the package without the need for
patching. The test suite still doesn't compile unfortunately.

Closes https://github.com/NixOS/nixpkgs/pull/75594.
2019-12-13 20:48:35 +01:00
Peter Simons
69e794d1d8 haskell-pandoc: update the ghc-8.8.x build to version 2.9 2019-12-13 20:48:35 +01:00
Manuel Bärenz
bd11e12fcc haskell-clay: unbreak the build; it succeeds fine 2019-12-13 20:48:14 +01:00
Peter Simons
2d94437a32 haskell-doctemplates: update override for ghc-8.8.x 2019-12-13 20:48:13 +01:00
Peter Simons
c02f1b47cd hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-9-g650d530 from Hackage revision
df9ca29882.
2019-12-13 20:48:13 +01:00
Peter Simons
d5814bc0e6 haskell-ghcide: use latest haskell-lsp versions
ghcide needs version 0.18.x of the haskell-lsp package to build.

Closes https://github.com/NixOS/nixpkgs/pull/75610.
2019-12-13 20:48:13 +01:00
sternenseemann
1fef36e671 haskell-spacecookie: use correct version of systemd to fix the build 2019-12-13 20:46:29 +01:00
sternenseemann
e449a21f19 haskell-systemd: use correct version of network to fix the build 2019-12-13 20:46:29 +01:00
Peter Simons
82d49ffa82 hackage2nix: disable broken builds 2019-12-13 20:46:29 +01:00
Peter Simons
c01e7b9703 LTS Haskell 14.17 2019-12-13 20:45:44 +01:00
Peter Simons
53dca0d451 haskell-hlint: update override for ghc-lib-parser to the latest version 2019-12-06 20:55:12 +01:00
Peter Simons
88179304b4 haskell-brick: use the latest version when building with ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons
fc8ccfa780 haskell-dhall: update overrides for the latest version 2019-12-06 20:55:12 +01:00
Peter Simons
cd9816e0f7 haskell-pandoc: update ghc-8.8.x override for the latest version 2019-12-06 20:55:12 +01:00
Peter Simons
66285b7ab7 haskell-vty: use latest version when building with ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons
09186816b1 haskell-regex-tdfa: update override for ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons
fa1a064694 haskell-monad-par: enable test suite again 2019-12-06 20:55:12 +01:00
Peter Simons
0db312b2f1 ghc-8.8.x: update package versions to fix builds 2019-12-06 20:55:12 +01:00
Peter Simons
6f1dae65f7 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-9-g650d530 from Hackage revision
d33af9cc10.
2019-12-06 20:55:06 +01:00
Peter Simons
bb0cf7ffb3 hackage2nix: update list of broken packages 2019-12-06 20:26:41 +01:00
Henri Jones
eb621046a7 haskellPackages.sbv: remove from list of broken packages 2019-12-06 20:26:40 +01:00
Peter Simons
6b362fd020 ghc-8.8.x: update package versions to fix builds 2019-12-05 14:44:05 +01:00
Peter Simons
d8ab6c90ce haskell-haddock-library: jailbreak version 1.8.0 so that we can build the test suite 2019-12-03 12:56:52 +01:00
Peter Simons
2c5b9702ef haskell-prettyprinter: use latest version when building with ghc-8.8.x 2019-12-03 11:45:29 +01:00
Frederik Rietdijk
d14baf7747 Merge master into staging-next 2019-11-30 08:57:28 +01:00
Peter Simons
2ad2f5ac18 haskell-pandoc et al: use the latest package versions for ghc-8.8.x 2019-11-29 21:51:32 +01:00
Peter Simons
851bc13b6e haskell-dns: disable test suite to fix the build 2019-11-29 21:51:32 +01:00
Peter Simons
0d003266b0 haskell-HaTeX: disable test suite to fix the build 2019-11-29 21:51:32 +01:00
Peter Simons
5f3638bfda haskell-cabal-plan: update overrides for the new version 2019-11-29 21:51:32 +01:00
Peter Simons
6f39f705f4 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-9-g650d530 from Hackage revision
1011c4cc9b.
2019-11-29 21:51:28 +01:00
Peter Simons
c335226cee haskell-ci: mark broken (and drop obsolete overrides)
The build requires Cabal 3.x at setup-time and I can't make
it work easily for reasons I don't understand. Fixing that
package is going to need more time.
2019-11-29 21:51:00 +01:00
Peter Simons
b744d1f88a hackage2nix: update list of broken packages 2019-11-29 21:51:00 +01:00
anticris
ccd9bbf807 remove pandoc-placetable from broken packages section 2019-11-29 21:51:00 +01:00