Commit Graph

3537 Commits

Author SHA1 Message Date
Bas van Dijk
0a30853461
Merge pull request #46512 from michaelpj/imp/haskell-benchmarks
haskell lib: add --enable-benchmarks in doBenchmark
2018-09-18 14:57:03 +02:00
John Ericson
9f768ff43c
Merge pull request #46795 from obsidiansystems/late-bind-buildHaskellPackages
haskell infra: "late bind" `buildHaskellPackages`
2018-09-17 16:20:56 -04:00
John Ericson
8da28de0e8 haskell infra: "late bind" buildHaskellPackages
This way it can be overridden.
2018-09-17 16:01:26 -04:00
Silvan Mosberger
7e5917a031
haskellPackages: Fix ListLike for 8.02 and 8.22 2018-09-17 03:54:03 +02:00
Peter Simons
e0c081c6ac haskell-cabal2nix: update override for hpack 0.31.0
* pkgs/development/haskell-modules/configuration-common.nix:
2018-09-12 13:14:22 +02:00
Peter Simons
9d47aaa3b6 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.11-9-gb3613cb from Hackage revision
e44c7d34b0.
2018-09-12 10:33:23 +02:00
Peter Simons
53d34305f6 haskell-stm: update overrides that use version 2.4.5.0 to version 2.4.5.1 2018-09-12 10:31:10 +02:00
Peter Simons
838b4fe552 haskell-Cabal: keep a copy of the 2.2.x version around in the package set 2018-09-12 10:31:09 +02:00
(cdep)illabout
da86e4255b haskellPackages.termonad: Add dontCheck and remove from dont-distribute-packages.
The doctests for termonad fail to build only with nix.  When building
without nix, the doctests run correctly:

https://github.com/cdepillabout/termonad/issues/15

This PR disables the tests for termonad, as well as removing it from
dont-distribute-packages.
2018-09-12 10:31:09 +02:00
Peter Simons
1c5d7ad52e cabal2nix: fix (and clean up)override for hpack dependency 2018-09-12 10:31:09 +02:00
Peter Simons
11930854a2 haskell-yaml: drop obsolete override 2018-09-12 10:31:08 +02:00
Peter Simons
1b1cb6305c hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.11-9-gb3613cb from Hackage revision
3869e8d541.
2018-09-12 10:31:03 +02:00
Peter Simons
3c1af12544 LTS Haskell 12.9 2018-09-12 10:30:20 +02:00
Alexander Biehl
88ce4f5e8a More conservative SCC tagging for Haskell libraries
`all-functions` corresponds to `-fprof-auto` which places an SCC on every binding. It is well known that SCCs hinder GHC from doing its optimization magic and really slows down profiled code to a point where the profiling reports are completely skewed towards things that were completely optimized away in production settings. Concretely this shows up with things like lenses which do not carry runtime overhead when properly simplified.

`exported-functions` corresponds to GHCs `-fprof-auto-exported` which doesn't put SCCs on `INLINE`d code and in turn doesn't influence simplification of this basic but important stuff.
2018-09-12 10:30:20 +02:00
Alex Biehl
f8a158c346 Haskell builder: Use $abi/$libname as --libsubdir 2018-09-12 10:30:20 +02:00
Michael Peyton Jones
175c4f040f
haskell generic builder: enable benchmarks if doBenchmark is true 2018-09-11 16:24:26 +01:00
Bas van Dijk
d05a8bb410
Merge pull request #44424 from dhess/callCaball2nixWithOption
haskell-modules: add callCabal2nixWithOptions.
2018-09-11 09:00:03 +02:00
Arian van Putten
02feb90d4e safe-money: Fix dependencies for safe-money-*
They all depend on safe-money-0.7, but hackage2nix made them incorrectly
depend on safe-money-0.6

We should be able to remove this 'hack' as soon as the new Stackage LTS
comes out, as safe-money-0.7 will then be the default version.
2018-09-10 13:41:57 +02:00
Bas van Dijk
1fc5a6d2b6 haskell: build the tensorflow packages on hydra since they now build successfully 2018-09-06 09:15:56 +02:00
Bas van Dijk
a5f08c17e5 haskellPackages.tensorflow-mnist: fix missing dependency on tensorflow-mnist-input-data 2018-09-06 09:15:56 +02:00
Bas van Dijk
641025d410 haskellPackages.tensorflow-mnist-input-data: link data files instead of copying
This prevents duplication in the nix store.
2018-09-06 09:15:56 +02:00
Bas van Dijk
6bd8799448 haskellPackages.tensorflow-mnist-input-data: use an attribute set to specify the data files
This is more understandable and safer than using a nested list.
2018-09-06 09:15:50 +02:00
Matthieu Coudron
11e2009821 haskellPackages.tensorflow-mnist-input-data: fetch
Prefetch data so that the package doesn't try to connect to the internet.
2018-09-06 00:11:02 +09:00
Peter Simons
b35b8baddd
Merge pull request #45348 from shlevy/shellFor-all-build-inputs
haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix.
2018-09-02 16:11:43 +02:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Bas van Dijk
97a4d29545 haskell: disable library profiling for static executables
Haskell packages overridden with justStaticExecutables
(like cabal-install, stack, pandoc, darcs, etc.) don't provide
libraries in the end result so it's futile to build them with library
profiling enabled because it will just take extra time.
2018-08-27 14:31:34 +02:00
Michael Alan Dorman
60cc518b22 xmonad: update nix patch
Regenerated against the current release.
2018-08-27 14:31:34 +02:00
Peter Simons
cd35b1cc9c hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.11-7-gdb540bc from Hackage revision
d01233b4fa.
2018-08-27 14:31:34 +02:00
(cdep)illabout
78e2045f6d gi-vte: Remove from dont-distribute-packages 2018-08-27 14:31:33 +02:00
Peter Simons
e0d250e5cf LTS Haskell 12.7 2018-08-27 14:31:33 +02:00
Domen Kožar
82f11ba01b haskell generic builder: expose enableParallelBuilding 2018-08-26 23:20:41 +01:00
Eric Wolf
5d91e0f57d hunspell-hs: fix build
Using pkgconfig like jtojnar suggested.

Disables tests as some necessary data files
aren't included on hackage.
2018-08-26 20:44:39 +02:00
Bas van Dijk
170b8a85d2
Merge pull request #45053 from carlosdagos/skip-check-mattermost-api
haskellPackages.mattermost-api: skip check
2018-08-21 03:04:53 +02:00
Carlos D
0909282b1b haskellPackages.mattermost-api: skip check 2018-08-21 10:16:59 +10:00
John Ericson
60fc04c34b haskell lib: Add appendConfigureFlags
For consistency and completeness; other helpers have these "plural"
variants too.
2018-08-20 17:50:23 -04:00
Shea Levy
b00b2363b3
haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix.
Fixes #45318
2018-08-19 15:17:35 -04:00
Peter Simons
08f48236d2 cabal2nix: update hpack override to the new version 2018-08-19 13:36:20 +02:00
Peter Simons
782e96e7d4 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.11 from Hackage revision
d5c89ad106.
2018-08-19 13:36:14 +02:00
Peter Simons
87ae21cd12 LTS Haskell 12.6 2018-08-19 13:34:59 +02:00
Peter Simons
8546be38e5 hackage-packages: avoid broken reference to gnome2.gnome-keyring
Fixes https://github.com/NixOS/nixpkgs/issues/44996.
2018-08-19 09:38:40 +02:00
Shea Levy
2d32f7daa8
haskellPackages.hadoop-rpc: Apply stack overflow patch on 8.4 as well. 2018-08-17 09:36:53 -04:00
Shea Levy
38396acd3b
haskellPackages.xmlhtml: Jailbreak for hspec 2.5 2018-08-17 09:25:35 -04:00
Shea Levy
a07cc456bc
haskellPackages.hoopl: Disable broken testsuite.
https://github.com/haskell/hoopl/issues/50
2018-08-17 09:02:24 -04:00
Shea Levy
9c32d185d1
haskellPackages.hasktags: Disable broken testsuite.
https://github.com/MarcWeber/hasktags/issues/52
2018-08-16 15:35:05 -04:00
Shea Levy
816f4ef188
haskellPackages.cabal-plan: Remove broken patch. 2018-08-16 15:16:54 -04:00
Eric Wolf
fe6ebf85b7 ghc-8.0.2: Fix #44987 (#45014)
nix-env -f '<nixpkgs>' -qaP -A haskell.packages.ghc802

will run again, but the packages depending on ghc-compact will still not
build, as they have a constrain on base >= 4.10 and ghc 8.0.2 has base
4.9.1.0
2018-08-15 14:53:20 +01:00
Shea Levy
7372d3bf31
haskell.lib.getHaskellBuildInputs: Actually get the haskell build inputs.
5523ec8f3c accidentally dropped the attribute lookup.
2018-08-14 17:05:36 -04:00
Domen Kožar
d2c55eb34a
haskellPackages.hpack: set to newest hpack to avoid conflicting hpack versions in closure 2018-08-14 11:42:10 +01:00
Domen Kožar
85f892b988
stack2nix: cleanup 2018-08-14 11:41:42 +01:00
Bas van Dijk
a70fbb8d9e haskell: upgrade the tensorflow packages
Also enable building on GHC-8.4.
2018-08-13 20:07:43 +02:00