Commit Graph

4802 Commits

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