3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

4851 commits

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