Commit graph

3195 commits

Author SHA1 Message Date
Peter Simons f1a187f448 hackage2nix: update list of broken builds 2018-03-29 20:46:24 +02:00
Peter Simons c91a8b78b4
Merge pull request #38057 from bgamari/enableExecutableProfiling
haskell.lib: Add {en,dis}ableExecutableProfiling transformer
2018-03-29 20:41:37 +02:00
Ben Gamari d79fd43c9d haskell.lib: Add {en,dis}ableExecutableProfiling transformer
We already have {en,dis}ableLibraryProfiling and the builder already
accepts the executable profiling attribute; let's make it easy to use.
2018-03-29 13:33:48 -04:00
Will Fancher 0879138cb7 GHC: Don't use --profiling-detail on GHC < 8.0.2 2018-03-29 00:28:05 -04:00
Michael Alan Dorman dddf0314bc haskell-hnix: jailbreak deriving-compat dependency
Reported as https://github.com/jwiegley/hnix/issues/98
2018-03-27 20:43:55 +02:00
Peter Simons 234c42b8e6 haskell-json: drop obsolete override for GHC 8.4.1 2018-03-27 20:43:46 +02:00
Peter Simons 5dd264af42 haskell-getopt-generics: drop obsolete override for GHC 8.4.1 2018-03-27 20:43:46 +02:00
Peter Simons fc58ab2ff2 LTS Haskell 11.2
This update was generated by hackage2nix v2.9.2-2-gebc40be from Hackage revision
0200fecf27.
2018-03-27 20:43:36 +02:00
Matthew Bauer 970f2b5063 Revert "justStaticExecutables: enable -dead_strip on mac to shrink closure"
This reverts commit 24d313e203.

Fixes #37750
2018-03-26 20:57:32 -05:00
Shea Levy 2456060458
haskellPackages.lenz-template: Fix against lenz 3 2018-03-26 16:13:46 -04:00
Peter Simons 519fa22241
Merge pull request #37880 from mpickering/i-37856
Use up-to-date versions of singletons and th-desguar for GHC 8.4.1
2018-03-26 20:46:19 +02:00
Shea Levy 2b3ba40c03
haskellPackages.lenz: Remove outdated patch. 2018-03-26 13:40:22 -04:00
Matthew Pickering 5e7ab18437 Use up-to-date versions of singletons and th-desguar for GHC 8.4.1
Fixes #37856
2018-03-26 17:20:04 +00:00
Peter Simons 695897f799
Merge pull request #37754 from ElvishJerricco/call-hackage-keep-deriver
callHackage: Keep deriver, like callCabal2nix
2018-03-26 12:07:50 +02:00
Peter Simons 83f5012c58
Merge pull request #37825 from ElvishJerricco/fix-overriding-all-cabal-hashes
haskellPackages: Fix overriding all-cabal-hashes
2018-03-26 12:06:16 +02:00
Peter Simons caf83c6477
Merge pull request #37826 from ElvishJerricco/fix-node-executables-ghcjs
GHCJS: Fix autogenerated node executables
2018-03-26 12:05:42 +02:00
Will Fancher 41500cf2d7 Request older haddock library for haddock-api in GHC 8.0 2018-03-25 21:49:19 -04:00
Will Fancher 0a8359f18c GHCJS: Fix autogenerated node executables 2018-03-25 20:43:23 -04:00
Will Fancher 25856e37e3 haskellPackages: Fix overriding all-cabal-hashes 2018-03-25 20:39:38 -04:00
Peter Simons 7ac95d5a8a haskell-hledger-lib: drop obsolete override for ghc-8.4.x 2018-03-25 20:21:45 +02:00
Peter Simons dfa1640429 haskell-brick: fix override for ghc-8.4.x 2018-03-25 20:21:45 +02:00
Peter Simons 8446b031c4 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.2 from Hackage revision
6272b092cf.
2018-03-25 20:21:45 +02:00
Peter Simons 784dd64e8a hackage2nix: disable broken builds
The following maintained builds fail (since quite some time):

 - network-arbitrary and network-uri-json (@alunduil)
 - pipes-csv (@jb55)
2018-03-25 20:21:45 +02:00
Peter Simons 53ab595095
Merge pull request #37766 from rnhmjoj/shell-conduit
haskellPackages.shell-conduit: fix build
2018-03-25 20:04:43 +02:00
Peter Simons 18d3088ba8 haskell-either: drop obsolete override for ghc-8.4.x
Closes https://github.com/NixOS/nixpkgs/issues/37773.
2018-03-25 19:31:46 +02:00
rnhmjoj be3449200d
haskellPackages.shell-conduit: fix build 2018-03-25 15:54:09 +02:00
Will Fancher 155dfe385e callHackage: Keep deriver, like callCabal2nix 2018-03-25 03:12:28 -04:00
Shea Levy ead2ba8809
Remove HIE package set until automation can be put in place. 2018-03-23 10:06:58 -04:00
Peter Simons e718df678d haskell-xmonad-contrib: patch to fix build with ghc 8.4.x 2018-03-22 21:14:25 +01:00
Peter Simons eb5470913f haskell-timezone-olson: drop obsolete override for GHC 8.4.1 2018-03-22 21:14:25 +01:00
Peter Simons 1e8663ab9b haskell-json: use latest versions when building with GHC 8.4.1 2018-03-22 21:14:25 +01:00
Peter Simons 71beddad8c Use latest versions of HaTeX and pandoc when building with GHC 8.4.1. 2018-03-22 21:14:24 +01:00
Peter Simons d1ba7ed4df haskell-pure-zlib: enable test suite again
https://github.com/NixOS/nixpkgs/issues/37499 has been fixed. Now we just need to
jailbreak the package to avoid https://github.com/GaloisInc/pure-zlib/issues/6.
2018-03-22 21:14:24 +01:00
Peter Simons 3cdb5aa2f0 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.2 from Hackage revision
2b503b0b7c.
2018-03-22 21:14:20 +01:00
Peter Simons 435e38878c hackage2nix: update list of failing Hydra builds 2018-03-22 21:14:19 +01:00
Jude Taylor d6a0652d6d
Merge pull request #37509 from pikajude/darwin-hs-dynamic
Haskell: fix static libs on darwin
2018-03-21 14:36:08 -07:00
Peter Simons 3c6dcdb74e
Merge pull request #37588 from mpickering/pure-zlib
dontCheck pure-zlib
2018-03-21 18:19:56 +01:00
Matthew Pickering 4a3ad82bcd dontCheck pure-zlib
Fixes #37499
2018-03-21 17:16:20 +00:00
Will Dietz 2a30ab3865
Merge pull request #37486 from dtzWill/fix/ghc-glibcLocales
haskell: only use glibcLocales when using glibc
2018-03-20 22:55:44 -05:00
Jude Taylor 0458c7b885 fix static libs on darwin 2018-03-20 15:26:00 -07:00
Will Dietz 8727284a4b haskell: only use glibcLocales when using glibc
Fixes eval w/musl.

Possible alternative would be using glibcLocales
when it is non-null, to avoid duplicating the logic.
2018-03-20 14:38:40 -05:00
Moritz Angermann 918edbe485 haskell-generic-builder: Add enableHsc2hsViaAsm for Windows cross compilation 2018-03-20 15:27:02 -04:00
John Ericson 0c52fe9702
Merge pull request #37460 from obsidiansystems/host-meta-platforms-fixes
treewide: `meta.platforms` fixes now that it tracks the host platform
2018-03-20 13:08:54 -04:00
John Ericson 65e24f22e6 haskell-generic-builder: Default to window + unix platforms,
Since GHC is a cross compiler, it's perfectly possible to make haskell
binaries on platforms without GHCs. `windows ++ unix` seems good enough
for now.

Also don't default `hydraPlatforms` to `platforms`. The former must be a
list of systems (strings), but the latter is a list of systems or
patterns.
2018-03-20 13:02:53 -04:00
Peter Simons 97d56e94fa haskell-getopt-generics: override to latest version for ghc-8.4.x 2018-03-20 16:23:12 +01:00
Peter Simons ad1cd53ec8 haskell-src: drop obsolete override for ghc 8.4.x 2018-03-20 16:23:12 +01:00
Peter Simons 92935aeac8 haskell-conduit: drop obsolete override for ghc 8.4.x 2018-03-20 16:23:12 +01:00
Peter Simons e4a5fea87f haskell-blaze-builder: drop obsolete override for ghc 8.4.x 2018-03-20 16:23:12 +01:00
Peter Simons c9777cdf9d haskell-SHA: the new version has fixed the test suite failure 2018-03-20 16:23:12 +01:00
Peter Simons a413639a26 haskell-th-printf: drop obsolete override for ghc 8.4.x 2018-03-20 16:23:12 +01:00
Peter Simons 53309758e3 haskell-matrix: the new version has fixed the test suite failure 2018-03-20 16:23:12 +01:00
Peter Simons 61d4538812 LTS Haskell 11.1
This update was generated by hackage2nix v2.9.1-1-g63041e4 from Hackage revision
6aec0b311c.
2018-03-20 16:23:12 +01:00
Jan Tojnar 47bbd819c7
haskell-configuration-common: disable some tests depending on tasty-hunit-0.9 2018-03-20 13:34:38 +01:00
Graham Christensen 81da63f003
Merge pull request #37132 from srhb/haddock-wrapped
haskellPackages.ghcWithPackages: Wrap haddock with GHC lib dir
2018-03-19 10:27:36 -04:00
Peter Simons 54c1ca5fe9 haskell-xmonad: patch to fix the build with ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 13b154aee4 haskell-data-inttrie: patch to fix the build with ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons b8ab77c1f0 haskell-th-printf: jailbreak to fix the build with ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons c044a82caf haskell-json: patch to fix the build with ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 148646e630 haskell-matrix: override to latest version for ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 93d241e3dd haskell-timezone-olson: override to latest version for ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 7d5a69c265 haskell-GenericPretty: drop obsolete override for ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 8848a95575 haskell-boxes: drop obsolete override for ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons cedf31b04a haskell-brick: override to latest version to fix build with ghc-8.4.x 2018-03-17 21:16:49 +01:00
Peter Simons 84bd9be9ce haskell-cabal2spec: fix build with ghc-8.2.x 2018-03-17 21:16:49 +01:00
Peter Simons 69c7aabbf8 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.1-1-g63041e4 from Hackage revision
f91c8f61e9.
2018-03-17 21:16:49 +01:00
Peter Simons 03cae069fe haskell-pandoc: use current git version when building with ghc-8.4.x 2018-03-17 21:16:48 +01:00
Peter Simons bb6b99287b cabal2nix: drop obsolete overrides for ghc-8.4.x 2018-03-17 21:16:48 +01:00
Peter Simons 3c978a82ca haskell-doctemplates: drop obsolete override for ghc-8.4.x 2018-03-17 21:16:48 +01:00
Peter Simons b59905bfe4 haskell-conduit: use latest version when compiling with ghc-8.4.x 2018-03-17 21:16:48 +01:00
Peter Simons e772848b44 haskell-tasty: drop obsolete override for ghc-8.4.x 2018-03-17 21:16:48 +01:00
Peter Simons 6a71804bea hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9.1 from Hackage revision
04b554ad3b.
2018-03-17 21:16:48 +01:00
Peter Simons 38bd7183c5 brick: undo update to revision 1, which breaks the build with GHC 8.2.2
Hopefully, upstream fixes this quickly.
2018-03-17 11:42:36 +01:00
Peter Simons 6fbf6efcf3 haskell-esqueleto: drop the markBroken for ghc 8.4.1
Although accurate, the override causes evaluation errors that serve little
purpose but poison our dashboard at [1].

[1] https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2018-03-17 08:21:24 +01:00
Peter Simons fe0be794fb haskell-pandoc-types: update override for ghc 8.4.x 2018-03-17 08:21:23 +01:00
Peter Simons f3f5d68ca3 haskell-generic-builder: cosmetic 2018-03-17 08:21:23 +01:00
Peter Simons 1978fa444d haskell-generic-builder: disable shared executable linking by default
This change raises the question of whether we should disable building of shared
libraries altogether (since we don't link them). Unfortunately, we can't,
because GHC expects shared libraries to be around when building and running
test suites, and no amount of passing --disable-shared flags at configure time
changes the fact. I *guess* that's related to the DYNAMIC_GHC_PROGRAMS = YES
flag we set when building GHC itself, but I haven't investigated it further
yet.

Closes https://github.com/NixOS/nixpkgs/issues/29011.
2018-03-17 08:21:23 +01:00
Peter Simons db5be10a4a haskell-generic-builder: fix confusion about --enable-static vs. --enable-library-vanilla 2018-03-17 08:21:23 +01:00
Peter Simons d7beae33dc haskell-generic-builder: always compile with --enable-library-for-ghci 2018-03-17 08:21:23 +01:00
Peter Simons a62b24be6d haskell-generic-builder: drop obsolete splitObjs function argument 2018-03-17 08:21:23 +01:00
Peter Simons 7f5fba75e2 haskell-generic-builder: compile profiling library variants by default
Unless specified otherwise, the default package set compiles library variants
for profiling with profiling-detail "all-functions". Executables, however, are
not built with profiling enabled.

This change increases the closure size for many Haskell programs, but the
practical advantage of having stack traces and performance measurements easily
available during development seems to outweigh that cost.

Closes https://github.com/NixOS/nixpkgs/issues/22340.
2018-03-17 08:21:22 +01:00
Peter Simons 408d441df0 git-annex: update sha256 hash for the new version 2018-03-17 08:21:22 +01:00
Peter Simons 929dac413b cabal2nix: update hpack version override 2018-03-17 08:21:22 +01:00
Peter Simons 7d043f036c haskell-configuration-common: cosmetic, no functional change 2018-03-17 08:21:22 +01:00
Peter Simons 9df1d15a28 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9-10-gc1333d1 from Hackage revision
bad3dc0ed6.
2018-03-17 08:21:17 +01:00
Peter Simons c81d3e72e8 hackage2nix: disable failing Hydra builds 2018-03-17 08:21:16 +01:00
Peter Simons b6ca84c94e hackage2nix: extend the set of packages I maintain 2018-03-17 08:21:15 +01:00
Peter Simons 50020a296a darcs: jailbreak fgl dependency constraints to fix the build 2018-03-16 17:33:31 +01:00
Graham Christensen 18bf53a74d
haskel packages: drop override on ltk to fix evaluation 2018-03-15 22:00:02 -04:00
Peter Simons dc7557a2f0 haskell-constraints: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 81316008f7 haskell-semigroupoids: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 5a1a30becc structured-haskell-mode: update overrides for lts-11.x 2018-03-15 21:33:05 +01:00
Peter Simons 9254b06b22 haskell-src: update override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 5c9b3a6b18 haskell-free: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 43d9df52c3 haskell-lens: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons a11eaf1f04 haskell-regex-tdfa: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 1e8e3d6291 haskell-changelogged: drop obsolete override 2018-03-15 21:33:05 +01:00
Peter Simons de7847e683 git-annex: add overrides to fix the build in an lts-11.x environment 2018-03-15 21:33:05 +01:00
Peter Simons 080c54cd1c haskell-turtle: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 8d0df69f4f haskell-vty: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:05 +01:00
Peter Simons 79c2be32ad haskell-doctest: update overrides for ghc-8.4.x 2018-03-15 21:33:04 +01:00
Peter Simons 2932385b3c haskell-pandoc-types: update to latest version to fix the build with GHC 8.4.x 2018-03-15 21:33:04 +01:00
Peter Simons 326e1157a3 cabal2nix: update hpack override to use the latest version 2018-03-15 21:33:04 +01:00
Peter Simons 45caa0cf64 haskell-unordered-containers: drop obsolete override for GHC 8.4.x 2018-03-15 21:33:04 +01:00
Peter Simons f0730a1bf5 haskell-funcmp: drop obsolete override for ghc-8.4.x 2018-03-15 21:33:04 +01:00
Peter Simons 6e507784d7 lambdabot-haskell-plugins: drop obsolete override 2018-03-15 21:33:04 +01:00
Peter Simons 77c16dd7db haskell-hspec: update overrides for ghc-8.4.1 build 2018-03-15 21:33:04 +01:00
Peter Simons 3cf9c63c64 Drop obsolete Haskell overrides.
The overrides for the following packages no longer help:

 - HaVSA
 - test-framework-quickcheck
2018-03-15 21:33:04 +01:00
Peter Simons 8fdba8ca99 haskell-test-framework: disable test suite build
This avoids a dependency on an old version of QuickCheck.
2018-03-15 21:33:04 +01:00
Michael Alan Dorman 559832d663 isDarwin: make usage consistent
This one was the only one of the form pkgs.stdenv._hostPlatform_.isDarwin.
2018-03-15 21:33:04 +01:00
Michael Alan Dorman 2d3138fc9a tldr: remove unnecessary override
`shell-conduit` is no longer necessary for the expression.
2018-03-15 21:33:04 +01:00
Michael Alan Dorman 41409f6348 haskell-src-exts: remove unnecessary overrides
The 1.20.2 release is now the default.
2018-03-15 21:33:04 +01:00
Michael Alan Dorman 80b209cf20 http-conduit: remove unnecessary override
The 2.3.0 version is now the default.
2018-03-15 21:33:04 +01:00
Peter Simons a13ff71b21 haskell-configuration-common: update a couple of comments 2018-03-15 21:33:04 +01:00
Peter Simons 90696dcb6c cabal2nix: update hpack override 2018-03-15 21:33:04 +01:00
Peter Simons b79f68ae7a hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9-6-g7017487 from Hackage revision
97c9f84bf5.
2018-03-15 21:33:04 +01:00
Peter Simons e4d49bcabc hackage2nix: keep old package versions around so that we can build git-annex 2018-03-15 21:33:02 +01:00
Peter Simons da9f52a6e9 LTS Haskell 11.0 2018-03-15 21:33:02 +01:00
Sarah Brofeldt 2956cc8760 haskellPackages.ghcWithPackages: Wrap haddock with GHC lib dir 2018-03-15 20:16:54 +01:00
Peter Simons 1583cc6449 haskell-SHA: fix compiler crash while trying to build the test suite on i686
Fixes https://github.com/NixOS/nixpkgs/issues/36949.
2018-03-14 21:23:25 +01:00
Peter Simons 2f2ad74369 Fix cross-compilation builds of several Haskell packages some more. 2018-03-14 21:09:14 +01:00
Peter Simons 70467b9a12 Fix cross-compilation builds of several Haskell packages. 2018-03-14 20:50:43 +01:00
Peter Simons 79c97645b4 haskell-Cabal: version 2.2.x now accepts older versions of text 2018-03-13 21:41:54 +01:00
Peter Simons a3a6918137 hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.9-5-g32974fc from Hackage revision
3e784a7dcf.
2018-03-13 21:41:54 +01:00
volth 34f12184cd treewide: s/saneBackends/sane-backends/g 2018-03-13 00:47:10 +00:00
Peter Simons bd46cb180d haskell-vty: use latest version when compiling with GHC 8.4.x 2018-03-12 14:31:00 +01:00
Peter Simons aed9401abc hledger-lib: add override fix build with ghc 8.4.x 2018-03-12 14:31:00 +01:00
Peter Simons 6c837058a4 haskell-megaparsec: fix build with GHC 7.10.x 2018-03-12 14:31:00 +01:00
Peter Simons 729a26d875 haskell-parser-combinators: fix build with GHC 7.10.x 2018-03-12 14:31:00 +01:00
Peter Simons d9ed7a2642 haskell-cmdargs: fix build with GHC 7.10.x 2018-03-12 14:30:59 +01:00
Peter Simons c575724782 haskell-tar: fix build with ghc-7.10.x 2018-03-12 14:30:59 +01:00
Peter Simons 7337a20f64 haskell-inline-c: disable test suite to avoid around quickcheck failure 2018-03-12 14:30:59 +01:00
Peter Simons 74e40b0671 haskell-HTTP: drop obsolete override for GHC 8.4.x 2018-03-12 14:30:59 +01:00
Peter Simons d531e09696 haskell-changelogged: update override for new turtle version 2018-03-12 14:30:59 +01:00
Kosyrev Serge c373b26f9c ghc841: boxes fix released 2018-03-12 14:30:58 +01:00
Kosyrev Serge 1278dba2bc ghc841: bv fix released 2018-03-12 14:30:58 +01:00
Peter Simons 86058acb2f haskell-ChasingBottoms: drop obsolete override 2018-03-12 14:30:58 +01:00
Peter Simons 83de07c6b4 LTS Haskell 10.9
This includes an automatic update of hackage-packages.nix, generated by
hackage2nix v2.9-5-g32974fc from Hackage revision
ed783e7c6e.
2018-03-12 14:30:10 +01:00
Peter Simons a9e1ae3d29
Merge pull request #36781 from deepfire/ghc-8.4
ghc841:  semi-automated updates
2018-03-12 09:28:33 +01:00
Ken Micklas f34e136a04 callCabal2nix: Use host platform rather than build platform for evaluation of Cabal files 2018-03-11 22:02:32 -04:00
Kosyrev Serge 86b554a589
ghc841: github needs a jailbreak 2018-03-12 03:03:31 +03:00
Kosyrev Serge c5160c62e3
ghc841: hackage-security fixed upstream 2018-03-12 03:03:31 +03:00
Kosyrev Serge 663934aec8
ghc841: fixed deriving-compat now on hackage 2018-03-12 03:03:31 +03:00
Kosyrev Serge d799cc8b23
ghc841: haddock-library needs dontCheck and dontHaddock 2018-03-12 03:03:31 +03:00
Kosyrev Serge 1a451a36cb
ghc841: SMP-compatible regex-tdfa now on hackage 2018-03-12 03:03:31 +03:00
Kosyrev Serge 98f5efd872
ghc841: haskell-src-exts fix released 2018-03-12 03:03:31 +03:00
Kosyrev Serge b2cfe1ce64
ghc841: cabal-install fixed upstream 2018-03-12 03:03:30 +03:00
Kosyrev Serge 662bc073b2
ghc841: cabal2nix fixed upstream 2018-03-12 03:03:30 +03:00
Kosyrev Serge 8f72b8a5c0
ghc841: bv fixed upstream 2018-03-12 03:03:30 +03:00
Kosyrev Serge d7365851fb
ghc841: dhall fix 2018-03-12 03:03:30 +03:00
Kosyrev Serge 9c58744f3e
ghc841: dontCheck resolv 2018-03-12 03:03:30 +03:00