Commit Graph

5244 Commits

Author SHA1 Message Date
Daiderd Jordan b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Mario Rodas a03e048348
haskellPackages.cachix: dontCheck 2020-05-31 11:00:00 -05:00
Soares Chen 32d2de8e00 haskell: Fix with-packages-wrapper MacOS linker hack for GHC 8.8
`with-packages-wrapper.nix` has a hack to workaround the linker limit
in MacOS Sierra. However that is now broken with GHC 8.8, because of
slight change in the format of the package config.
In short, the package config produced by GHC 8.8 has a new line between
the key and list of values, while earlier versions have them separated
by a single space.

This PR fixes the linker hack by modifying the `grep` and `sed` commands
to pattern match on either space or new line, so that the hack can work
on all versions of GHC.
2020-05-29 22:28:47 +02:00
Joe Hermaszewski 53594c65ce haskellPackages.VulkanMemoryAllocator: Add extra library necessary for compilation 2020-05-29 22:28:47 +02:00
Peter Simons 4b2b6ce65e idris: drop obsolete overrides for the new 1.3.3 version
The test suite still fails because of all kinds of implicit assumptions that
are wrong in our build environment. For example, the test suite can't just call
"idris" and expect that executable to be in $PATH.
2020-05-29 22:28:47 +02:00
Peter Simons a079858747 git-annex: don't update to version 8.20200522 yet to avoid test suite failures 2020-05-29 22:28:47 +02:00
Peter Simons eb1e07865e haskell-devtools: break infinite recursion with mprelude 2020-05-29 22:28:47 +02:00
Peter Simons 5244ef40ce haskell-dhall: configure overrides for the newly added 0.32.0 version 2020-05-29 22:28:47 +02:00
Malte Brandy 6d8175075e haskellPackages.shh: Disable tests 2020-05-29 22:28:47 +02:00
Peter Simons fbc0845f28 haskell-cabal-fmt: overriding Cabal-3.2 is unnecessary for ghc-8.10.x and beyond 2020-05-29 22:28:47 +02:00
Peter Simons 330227bc6c haskell-extra: update overrides for the new version 2020-05-29 22:28:47 +02:00
Peter Simons 995bdd4c85 haskell-ghc-lib-parser: fix overrides for the new release 2020-05-29 22:28:46 +02:00
Aycan Irican accaa8790c guid: fix compilation of Setup.hs and disable tests
guid: fix compilation of Setup.hs and disable tests

Add more docs

Remove guid from broken-packages
2020-05-29 22:28:46 +02:00
Christoph Bauer d895bad12a Fix dependencies issues of postgresql-syntax and re+base 2020-05-29 22:28:46 +02:00
Mike Sperber 41786ec21f Update tensorflow-haskell dependencies.
Updating to the current HEAD of the Tensorflow-Haskell bindings allows
us to also update the dependencies, specifically proto-lens, and avoid
having to retain their outdated versions.
2020-05-29 22:28:46 +02:00
Peter Simons 5c3eab8a97 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.3-1-gb7c82db from Hackage revision
5f32599b70.
2020-05-29 22:28:46 +02:00
Peter Simons 05ba8c56cb hackage2nix.yaml: update list of broken builds 2020-05-29 22:28:38 +02:00
Peter Simons 496fad525b hackage2nix.yaml: cabal-fmt now has a maintainer 2020-05-29 22:23:47 +02:00
Malte Brandy 80cc18ac32 haskellPackages.shh: Mark unbroken 2020-05-29 22:16:02 +02:00
Malte Brandy e9b611352f configuration-hackage2nix: Add maralorn as a maintainer for a number of haskellPackages 2020-05-29 22:16:02 +02:00
Markus Hauck 368364fbaa Unbreak amazonka-dynamodb 2020-05-29 22:16:02 +02:00
Gabriel Volpe 678e947b88 haskellPackages.dhall-lsp-server: unbreak 2020-05-29 22:16:02 +02:00
Manuel Bärenz 9a302dffc8 rhine, rhine-gloss: Remove broken marker 2020-05-29 22:16:02 +02:00
Poscat 44e8c5c0b8 haskellPackages.vulkan: unbreak 2020-05-29 22:16:02 +02:00
pacien b2e0f05b6b haskellPackages.tart: unmark as broken
Dependency issues for this package have been fixed in the latest release.
See https://github.com/jtdaugherty/tart/issues/10
2020-05-29 22:16:01 +02:00
Peter Simons 4fa8c3e67a LTS Haskell 15.13 2020-05-29 22:16:01 +02:00
Robert Hensing 4353027d0b haskell/generic-builder.nix: Fix C lib multiple inclusions
Allow the darwin links code to overwrite libs that were already
copied, because C dependencies can occur multiple times.

Solves errors like

    ln: failed to create symbolic link '/nix/store/higpc9xavwcjjzdipz7m9ly03bh7iy2z-hercules-ci-agent-source-0.7.0/lib/links/libboost_context.dylib': File exists
2020-05-15 21:02:08 +02:00
Peter Simons 4ed93cc494 haskell-ghc-lib-parser-ex: update overrides for the update 8.10.x version 2020-05-15 21:02:08 +02:00
Peter Simons dcbcd742e0 haskell-dhall: update override for the latest version on ghc-8.10.x 2020-05-15 21:02:08 +02:00
Malte Brandy a61cf82b6d hackagePackages.neuron: Fix build 2020-05-15 21:02:08 +02:00
Peter Simons 730024fcaa hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.3-1-gb7c82db from Hackage revision
4c409c7b8e.
2020-05-15 21:01:59 +02:00
Peter Simons ca8cb6044e hackage2nix: update list of broken packages 2020-05-15 21:01:34 +02:00
Peter Simons cf8bd2cd22 LTS Haskell 15.12 2020-05-15 21:01:34 +02:00
Peter Simons 2a60d72465 haskell-hlint: drop obsolete override for ghc-8.10.x 2020-05-08 21:11:47 +02:00
Peter Simons 7a10ebe361 haskell-pantry: apply upstream patch to fix the build with ghc-8.10.x 2020-05-08 21:11:47 +02:00
Peter Simons 96ca16d0d8 haskell-dbus: drop obsolete patches for ghc-8.10.x support 2020-05-08 21:11:47 +02:00
Peter Simons ccb81f56cf haskell: tune generic-builder for more parallel build performance
Raise the maximum number of cores used for parallel building from 4 to 16.
Increase the size of the allocation area for GHC's garbage collector from 1 MiB
to 64 MiB.

See https://www.twitch.tv/videos/611899011 for the motivation for this change.
2020-05-08 21:11:47 +02:00
Peter Simons 0d9dbeef23 git-annex: update sha256 hash for new version 8.20200501 2020-05-08 21:11:47 +02:00
Malte Brandy 4f0200a3fc haskellPackages.hlint: Fix build
hlint 3.0 is shiny and new and is very picky in its dependencies.
2020-05-08 21:11:46 +02:00
Malte Brandy ba3ab23b4b haskellPackages.releaser: Remove broken flag
As of releaser 3.0.0 the build does not fail anymore.
2020-05-08 21:11:46 +02:00
Peter Simons 33e0240b39 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.3-1-gb7c82db from Hackage revision
78f6cea7ff.
2020-05-08 21:11:37 +02:00
Malte Brandy 5266ceb263 haskellPackages.ghcide: Fix ghcide and hie-bios
This is the haskell-updates version of #86659
2020-05-08 21:11:36 +02:00
Peter Simons 5e242060a7 hackage2nix: update the list of failing builds 2020-05-08 21:11:36 +02:00
Peter Simons df39f01456 LTS Haskell 15.11 2020-05-08 21:11:19 +02:00
Peter Simons 01a1423ddf
Merge pull request #87050 from rardiol/hedgewars
Hedgewars server fix haskell
2020-05-08 21:03:56 +02:00
Ricardo Ardissone 834eb1729b haskellPackages.network_2_6_3_1: enable dontCheck 2020-05-06 01:14:06 -03:00
Pavol Rusnak 7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Peter Simons 1d4449ccd5 haskell-stack: update overrides for the new 2.3.1 version 2020-05-01 21:52:30 +02:00
Peter Simons 0c6e37e57c configuration-common.nix: cosmetic 2020-05-01 21:52:29 +02:00
Peter Simons c752d37efe cabal-install: patch the ghc-8.10.x build to succeed 2020-05-01 21:52:29 +02:00
Peter Simons b0c0ba6f81 haskell-ed25519: jailbreak to fix build with ghc-8.10.1 2020-05-01 21:52:29 +02:00
David Guibert 402b437c4a darcs: patches integrated upstream (in 2.14.3)
See http://bugs.darcs.net/issue2642.
2020-05-01 21:52:29 +02:00
Peter Simons 60f6da9ae1 haskell-tasty-rerun: jailbreak for ghc-8.10.x to fix the build 2020-05-01 21:52:29 +02:00
Peter Simons 8dd2b73d4d haskell-feed: jailbreak for ghc-8.10.x to fix the build 2020-05-01 21:52:29 +02:00
Peter Simons 89acd1a9d0 haskell-email-validate: jailbreak for ghc-8.10.x to fix the build 2020-05-01 21:52:29 +02:00
Peter Simons 4abd2ae8a2 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.2-4-gfa7a2c9 from Hackage revision
9d50cd9747.
2020-05-01 21:52:29 +02:00
Peter Simons 766b79b935 hackage2nix: update list of broken builds to fix evaluation 2020-05-01 21:52:29 +02:00
zowoq e689b329c3 haskellPackages.hadolint: mark unbroken, remove override 2020-05-01 21:52:29 +02:00
Christoph Bauer 278589f290 hasql-th isn't broken
because headed-megaparsec was repaired
2020-05-01 21:52:29 +02:00
Christoph Bauer b20870870f fix haskellPackages.headed-megaparsec 2020-05-01 21:52:29 +02:00
Peter Simons f9b8d17c10 LTS Haskell 15.10 2020-05-01 21:52:28 +02:00
Peter Simons 6a627c416f haskell-policeman: jailbreak to fix the build with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons 4bff4d692d haskell-xmobar: jailbreak to fix the build with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons ea37fe1f1c haskell-singletons: use latest versions when building with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons d3ae5625ff haskell-dbus: apply patch to fix the build
Taken from https://github.com/rblaze/haskell-dbus/pull/48.
2020-04-25 19:45:08 +02:00
Peter Simons d28e92d5aa haskell-weeder: jailbreak to fix the build with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons 53865f5f71 haskell-hlint: fix build with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons ceab66bf6e haskell-lens: use latest version when building with ghc-8.10.1 2020-04-25 19:45:08 +02:00
Peter Simons daf3b0868a configuration-ghc-8.10.x.nix: cosmetic 2020-04-25 19:45:08 +02:00
Peter Simons 21a354b6dd haskell-cabal-install-parsers: re-factor overrides to fix build with ghc-8.10.1 2020-04-25 18:22:55 +02:00
Peter Simons 7b7764287c haskell-cabal-plan: apply patch to fix the build with ghc-8.10.1 2020-04-25 18:16:57 +02:00
Peter Simons 6a6d0174ed haskell-pandoc: jailbreak out of haddock-library 1.8.x constraint 2020-04-25 18:06:43 +02:00
Peter Simons 125ada17b0 haskell-dhall: use the latest version when building with ghc-8.10.x 2020-04-25 18:06:42 +02:00
Peter Simons b24d2a90dd configuration-ghc-8.10.x.nix: cosmetic 2020-04-25 18:06:42 +02:00
Peter Simons f2aa6b44d4 haskell-system-fileio: jailbreak out of dependency on chell 0.4.x 2020-04-25 18:06:42 +02:00
Peter Simons c970de4586 haskell-dhall: disable the test suite
Dhall 1.31.x still attempts to access the network during its
test suite run, i.e. it attempts to connect to github.com.
2020-04-25 18:06:42 +02:00
Peter Simons e567a3b622 haskell-haddock: fix build with for the latest compiler ghc-8.10.1 2020-04-24 22:00:40 +02:00
Peter Simons a1463efcde haskell-haddock: fix build with our default compiler ghc-8.8.3
Fixes https://github.com/NixOS/nixpkgs/issues/85728.
2020-04-24 22:00:39 +02:00
Peter Simons da45fd982f haskell-microlens-th: drop obsolete override 2020-04-24 22:00:39 +02:00
Dennis Gosnell 5b3104acd4 Update pkgs/development/haskell-modules/configuration-hackage2nix.yaml 2020-04-24 22:00:39 +02:00
andys8 28556cd9ab Haskell: apply-refact version has to match ghc
This commit maps:

* GHC 8.6 to apply-refact 0.6
* GHC 8.8 to apply-refact 0.7
* GHC 8.10 to apply-refact 0.8

See:
<https://hackage.haskell.org/package/apply-refact/changelog>
<https://github.com/mpickering/apply-refact/issues/56>
2020-04-24 22:00:38 +02:00
Ashesh Ambasta 32c8e793bc Additional docs for doJailbreak
Yesterday with @infinisil on #nixos, he pointed me to: peti/jailbreak-cabal#7 after a good deal of time wrangling through a package to make it work. 
The `nix-build -K` command, is very handy for debugging things like these, again I learnt from infinisil. 
And after much experimenting and looking through, it turned out that jailbreaking wasn't working as expected, and its documentation could point it out to avoid future confusion.
2020-04-24 22:00:38 +02:00
David Guibert 8ab67c7a19 haskell-packages: made darcs compile with ghc 8.8 2020-04-24 22:00:38 +02:00
Peter Simons 7c1c9dcc72 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
69af61c5a2.
2020-04-24 22:00:37 +02:00
sternenseemann 3359dca08f haskellPackages.Euterpea: fix build, unbreak
Build is failing due to too restrictive version constraints which were
the only thing needing fixing.
2020-04-24 22:00:37 +02:00
Justin Humm 86e2dd2c24 haskellPackages.{binary-strict,webify}: fix build
webify needs a bump in the cabal file. As the last upstream commit is
two years ago, I think it makes sense to not wait for upstream to merge
the PR [0] and release a new version.

[0] https://github.com/ananthakumaran/webify/pull/27
2020-04-24 22:00:36 +02:00
Piotr Bogdan f3ec558ac6 haskellPackages.text-format: don't mark as broken 2020-04-24 22:00:36 +02:00
Mike Sperber b7f35fd663 haskellPackages.tensorflow*: unmark newly unbroken packages 2020-04-24 22:00:36 +02:00
Peter Simons ea1aa6590f hackage2nix: update list of broken builds to fix evaluation 2020-04-24 21:59:55 +02:00
Peter Simons 3186054a26 LTS Haskell 15.9 2020-04-24 21:52:19 +02:00
Pavol Rusnak fadcfc3ea4
treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Peter Simons 10100a97c8 ghc-8.10.x: add plenty of overrides to fix builds 2020-04-17 22:50:43 +02:00
Peter Simons d6aedf7bcd haskell-ghc-lib-parser-ex: fix build with GHC versions prior to 8.8.x 2020-04-17 20:50:48 +02:00
Guillaume Bouchard abc4f961b4 haskellPackages.ghcWithPackages: fix for GHC 8.10
This closes #79441.

ghcWithPackages is using `ghc-pkg recache` to build its package
database. By doing so, it overrides the `package.cache[.lock]` files.

Details are unclear, but GHC 8.10 changed a bit the behavior.
Previously, it was unconditionally replacing the files by new ones. Now
it tries to open (for modification) the files. These files are symlinks
to another nix derivation, which is hence read-only.

This commit removes the files before running `ghc-pkg recache`, hence it
will just write the new files.

Tested with `haskellPackages.ghcWithPackages` (i.e. GHC 8.8) and
`haskell.packages.ghc8101.ghcWithPackages` (i.e GHC 8.10) with the
following nix file, at the root of the nixpkgs repository:

```
with import ./. {
  overlays = [
    (
      self: super: {
        haskellPackages = super.haskell.packages.ghc8101.override {
          overrides = selfh: superh: {
             th-lift-instances = super.haskell.lib.doJailbreak superh.th-lift-instances;
             th-expand-syns    = super.haskell.lib.doJailbreak superh.th-expand-syns;
             th-reify-many     = super.haskell.lib.doJailbreak superh.th-reify-many;
             th-orphans        = super.haskell.lib.doJailbreak superh.th-orphans;
             haskell-src-meta  = super.haskell.lib.doJailbreak superh.haskell-src-meta;
          };
        };
      }
  )
  ];
};
haskellPackages.ghcWithPackages(p:[p.PyF])
```

This will test with GHC 8.10. Comment out the `overlays` to test with
GHC 8.8.
2020-04-17 20:50:48 +02:00
Mike Sperber 53cfd1d132 haskell-tensorflow: unbreak
- get the current Git head of haskell-tensorflow
- adjust dependencies
2020-04-17 20:50:48 +02:00
Michael Alan Dorman d59d157ad9 cabal-install-parsers: update Cabal dependency
This also unbreaks `haskell-ci`.
2020-04-17 20:50:48 +02:00
Jappie Klooster b95534aaea cut-the-crap: init at 1.0.0 2020-04-17 20:50:48 +02:00
Manuel Bärenz a762316e72 haskell simple-affine-space: Disable test suite 2020-04-17 20:50:48 +02:00
Troels Henriksen 802dfc8bd7 futhark: stop wrapping the executable 2020-04-17 20:50:48 +02:00
(cdep)illabout a0612c2a06 spago: 0.14.0 -> 0.15.1 2020-04-17 20:50:48 +02:00
Peter Simons fd1103227d hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
fcda2563cd.
2020-04-17 20:50:40 +02:00
Peter Simons fd63776ff4 hackage2nix: update list of broken builds to fix evaluation errors 2020-04-17 20:50:26 +02:00
Remo 83d84e6233 hackage2nix: unbreak postgrest 2020-04-17 20:50:07 +02:00
Remo 629af9f518 hackage2nix: unbreak hasql-pool 2020-04-17 20:49:49 +02:00
Peter Simons 572e8f6008 LTS Haskell 15.8 2020-04-17 20:49:10 +02:00
Peter Simons 0eb4bfa5fb darcs: don't try to build the package with ghc-8.8.x 2020-04-10 21:27:47 +02:00
Peter Simons 556367eb12 haskell-ShellCheck: drop obsolete patch to fix the build 2020-04-10 21:24:03 +02:00
Peter Simons a88efcfe2f hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
c7e2a1a246.
2020-04-10 20:57:28 +02:00
Peter Simons 6ec9d95a86 haskell-tensorflow: fix evalution errors
The configuration-tensorflow.nix file specified several overrides for version
0.2.x packages, but those packages are no longer included in our package set
because they are so old. (Current versions seem to be in the range of 0.6.x.)

I fixed the evalution errors, but I did not verify whether these packages
actually build with the newer versions.
2020-04-10 20:56:39 +02:00
Jan Tojnar 5427f5f60a haskellPackages.llvm-hs: Use LLVM 9 2020-04-10 20:56:38 +02:00
Peter Simons 450396e28d hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
c7e2a1a246.
2020-04-10 20:56:37 +02:00
Sam Doshi c64ba7e26a hackage2nix: unbreak hsexif 2020-04-10 20:56:37 +02:00
Mike Sperber 267d7a151b hackage2nix: update extra-packages we keep around for tensorflow
This is the first step towards unbreaking the tensorflow packages.
2020-04-10 20:56:37 +02:00
Marek Fajkus 0a4769ba6f haskellPackages.persistent-postgresql: don't check
Test suite requires database. Disabling tests as is done for mysql backend.
2020-04-10 20:56:36 +02:00
Chuck 5c7bf5123c haskellPackages.idris: Fix build (new GHC 8.8 & old megaparsec 7)
The hackage-packages.nix change was generated by hackage2nix v2.15.1 from Hackage revision
ad4a70d448.
2020-04-10 20:56:36 +02:00
Peter Simons 7467d0a587 hackage2nix: disable failing builds to fix Nixpkgs evaluation errors 2020-04-10 20:56:35 +02:00
Peter Simons d80ce4bee6 LTS Haskell 15.7 2020-04-10 20:52:31 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Peter Simons 65fa7edaa0 hackage2nix: drop obsolete version override 2020-04-03 22:00:31 +02:00
Peter Simons 35c3eb6737 git-annex: update sha256 hash for new version 8.20200330 2020-04-03 22:00:30 +02:00
Chuck dec9ac364a darcs: Fix build (Use old GHC)
This is fixed at upstream's head; this change can be reverted after
darcs cuts a new release (current release is 2.14.2).
2020-04-03 22:00:30 +02:00
Peter Simons f660d6ec3d haskell-hackage-security: update default version to 0.6.x 2020-04-03 22:00:29 +02:00
Peter Simons 11d28064b7 haskell-Cabal: update overrides for the new 3.2.x release 2020-04-03 22:00:29 +02:00
Peter Simons 70a22c5b4b haskell-matterhorn: fix override 2020-04-03 22:00:29 +02:00
Robert Djubek fbb1a3f080 glirc: fix build
same for `hookup` which is part of/required by irc-core/glirc
2020-04-03 22:00:28 +02:00
Alyssa Ross 57530f2f92 haskellPackages: mass unmark non-broken packages
I checked through haskellPackages looking for packages that were
marked as broken, but successfully built.

I identified these 162 packages that were marked as broken in spite of
building successfully for me with NIXPKGS_ALLOW_BROKEN.
2020-04-03 22:00:28 +02:00
Robert Djubek 3604904426 matterhorn: fix build
also fixes mattermost-api, mattermost-api-qc,
and adds them to stewardship by kiwi
2020-04-03 22:00:28 +02:00
rnhmjoj 8296679c4b haskellPackages.superbufer: remove old fix
The package is unmaintained and now broken for other reasons.
2020-04-03 22:00:27 +02:00
rnhmjoj 23210babd0 haskellPackages.pandoc-crossref: fix build 2020-04-03 22:00:27 +02:00
Mike Sperber 1640e66e48 polysemy-plugin: fix build
It needs an older version of ghc-tcplugins-extra.
2020-04-03 22:00:27 +02:00
Troels Henriksen 88c70b16b5 futhark: build and install manpages 2020-04-03 22:00:26 +02:00
Niklas Hambüchen f447e4cf6a haskellPackages.hspec-core: Disable tests on i686.
The tests have x86_64 results hardcoded, see
https://github.com/hspec/hspec/issues/431.
2020-04-03 22:00:26 +02:00
Peter Simons 03d4d25830 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.1 from Hackage revision
90b24a9110.
2020-04-03 22:00:25 +02:00
Peter Simons 487acb806e hackage2nix: update list of broken packages 2020-04-03 22:00:25 +02:00
Terje Larsen f0df902769 hackage2nix: unmark nix-diff as broken 2020-04-03 22:00:25 +02:00
Peter Simons d0faafe335 LTS Haskell 15.6 2020-04-03 21:54:44 +02:00
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
gnidorah 54564b0233 haskellPackages.hakyll-images: unmark as broken 2019-11-29 21:51:00 +01:00
Peter Simons e449a61c39 LTS Haskell 14.16 2019-11-29 21:51:00 +01:00
(cdep)illabout bb104abf63 spago: init at 0.12.1.0
This commit adds the spago package, a PureScript package manager and build tool.

https://github.com/spacchetti/spago
2019-11-29 10:13:35 +09:00
John Ericson 6bc456c91c Merge remote-tracking branch 'upstream/master' into ghcjs-cross-without-cc 2019-11-25 00:23:07 +00:00
John Ericson ea9a2c5ec2 haskell genenric-builder: Make the C compiler optional
This is GHCJS, and perhaps other obscure targets.
2019-11-25 00:12:39 +00:00
Frederik Rietdijk 10d0c68a9b Merge staging-next into staging 2019-11-20 10:02:21 +01:00
Jack Kelly 9f41d8a9d0 callHackageDirect: correct type signature 2019-11-20 16:36:33 +10:00
Frederik Rietdijk 5f8b0d7d99 Merge staging-next into staging 2019-11-19 14:53:29 +01:00
adisbladis c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
toonn 64c5eda317 alex: drop patch
simonmar/alex#140 was merged and the patch has been applied in alex
version 3.2.5 so the build is broken trying to re-apply the patch.
2019-11-18 17:04:41 +01:00
Peter Simons 3c531669b1 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-9-g650d530 from Hackage revision
e761da20a9.
2019-11-15 21:33:45 +01:00
Peter Simons 72515c590e hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.15.0-6-g12ceeb2 from Hackage revision
99180e68fe.
2019-11-15 21:08:46 +01:00
Peter Simons aed8e9536d haskell-src-exts-simple: add override to fix version of the dependencies 2019-11-15 21:08:45 +01:00