Commit Graph
1568 Commits
Author SHA1 Message Date
Peter Simons 8436458865 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v2.0-2-g0bc3d6d using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/d6d83232276db2efedab449dabc84736457319de
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/52eeaf4edc30c81a4fbeddc7b7b01530052a1835
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/64dfa6aa2ef929d199ce31da6776e66289de76e1
2016-07-07 17:18:35 +02:00
Peter Simons 6a6b8fa36f cabal2nix: update to version 2.0 from Hackage
I've realized that publishing updates to Hackage is far easier than
publishing updates in Nixpkgs, and since all Hackage updates show up in
Nix automatically I've decided to go back to publishing cabal2nix on
Hackage again.

Unfortunately, this means that I'll have to change the version numbering
scheme to comply with the expectations of the Haskell PVP (which is used
by Stackage), so the new version 2.0 looks like a downgrade to Nix,
which used to have version 20160406. :-(

If in doubt, run "nix-env -u --always" to force the update. I am sorry
about the inconvenience.
2016-07-05 23:45:41 +02:00
Peter Simons a828d79a8a hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v2.0-2-g0bc3d6d using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/fcabbcc70b8550e9f23094cd3f0d96d9bbafe925
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/52eeaf4edc30c81a4fbeddc7b7b01530052a1835
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/ff50bc1a46558a6e060888b0f655c453d277eeed
2016-07-05 23:45:41 +02:00
Peter Simons cbcb23dcf6 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160613-12-g1145e86 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/8b1e5923b5f2d5a438f8936ecfc8ef4d39782004
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1c63caa7b8636d6096141d19ed5fb9becd89ce8d
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/39da79acedd8aaa9d22fb962825f7ebc27a25585
2016-07-02 20:59:02 +02:00
Peter Simons 14a42dba66 haskell-semigroups: add missing overrides for old version of the package 2016-07-01 12:01:04 +02:00
Peter Simons ec2e568b35 configuration-hackage2nix.yaml: disable failing builds 2016-07-01 12:01:04 +02:00
Peter Simons a7e33a1a1e cabal2nix: update to version 20160613-10-g57dddc7 2016-07-01 12:01:03 +02:00
Peter Simons 77f6750ef0 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160613-12-g1145e86 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/53b696d106af368394e115af7436b8006438aa91
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1c63caa7b8636d6096141d19ed5fb9becd89ce8d
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/affdd756e95c75255334ae0bbbca16a6b9117885
2016-07-01 12:00:58 +02:00
Peter Simons e2c1926758 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160613-11-g57dddc7 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/6d525b650213a9a4a2ebba7ccc1d76ff6b0793a1
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1c63caa7b8636d6096141d19ed5fb9becd89ce8d
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/b1d16f45deb15ff4de8a781557ad75f855eaa636
2016-06-29 11:54:27 +02:00
Peter Simons 99c6c9d42f Merge pull request #16370 from rasendubi/haskell-hoogle
haskell-hoogle: adapt to GHC docs split
2016-06-20 23:52:47 +02:00
Alexey Shmalko 87aa864ff9 haskell-hoogle: adapt to GHC docs split
The docs were split at #16167 and broke google support. @peti fixed
build, however hoogle still didn't see packages shipped with GHC. This
patch fixes location of the libraries shipped with GHC.
2016-06-20 22:52:20 +03:00
Peter Simons 06d3636596 git-annex: update sha256 hash 2016-06-20 17:01:36 +02:00
Peter Simons 1178ccf085 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160613-7-g3089457 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/08c95c9ddf84ea3dd40e3cfd73210aaddc675e34
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/2a2cddb4431c7e6766c0fef56c72540787e804a8
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/5f88469291856faed11c15ab9de4aaf4224cff15
2016-06-20 17:01:36 +02:00
Peter Simons 06489a1850 haskell-hoogle: remedy some fallout from https://github.com/NixOS/nixpkgs/pull/16167
ghcWithHoogle builds with this patch applied, but it's probably still broken in
the sense that links might point nowhere or that the generated databases and/or
documentation might be incomplete.
2016-06-20 14:50:52 +02:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
YPares 3868cad832 haskell: generic-stack-builder sets an env var
generic-stack-builder was not setting STACK_PLATFORM_VARIANT="nix".
This is required by stack when handling its haskell packages database
snapshot. Stack must keep separated packages built with its own GHC
and those built with GHC from Nixpkgs.
2016-06-15 17:08:41 +02:00
Peter Simons 8d86c8274f callHackage: generate expressions for the appropriate target system and compiler 2016-06-13 23:09:56 +02:00
Peter Simons ee933f5d73 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160613 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/b9e58743e7306da155ed866b797f543556d3c479
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/2a2cddb4431c7e6766c0fef56c72540787e804a8
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/4b8c8abac5f38c31d90cf256565821716aa89a50
2016-06-13 23:09:44 +02:00
Peter Simons 52edff8689 Merge pull request #15989 from mboes/stack-builder-tweaks
haskell.lib.buildStackProject: allow passing in a custom GHC version.
2016-06-13 12:15:11 +02:00
Michael Alan Dorman b40e1efe00 haskell generic-builder: don't propagate setupHaskellDepends
Without this patch, attempts to install at least some of the packages
that start to use setupHaskellDepends (mostly gtk-related packages)
results in collisions:

    building path(s) ‘/nix/store/63k5smns43f5r2ad8wcc242x0gwd70m3-ghc-8.0.1’
    collision between `/nix/store/k18i1nm5hgnb82y9w2g9hmlwhk3szjld-ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi' and `/nix/store/0rwhbwsg9kmywgbrib2bs29p2hmi80za-Cabal-1.24.0.0/lib/ghc-8.0.1/Cabal-1.24.0.0/Distribution/Compat/Binary.dyn_hi'
    builder for ‘/nix/store/vrjkfpm8sb96m9i5k74h8vn0rwddgy4v-ghc-8.0.1.drv’ failed with exit code 25

This would appear to me to be a consequence of setupHaskellDepends
entries being added to propagateBuildInputs.  It is sufficient in the
cases I'm familiar with (taffyBar), and I think correct, to simply add
it to the otherBuildInputs.
2016-06-13 09:51:35 +02:00
Mathieu Boespflug 70bc97b731 haskell.lib.buildStackProject: fix treatment of LD_LIBRARY_PATH.
Don't make LD_LIBRARY_PATH pick up cwd when original string is empty,
due to colon terminated search path.
2016-06-13 00:55:34 +02:00
Mathieu Boespflug 292a8892a0 haskell.lib.buildStackProject: allow passing in a custom GHC version.
Previously, the user could only compile using the default version of
GHC in Nixpkgs. Now this can be changed by setting the `ghc` attribute
appropriately.
2016-06-13 00:55:33 +02:00
Peter Simons 2862d272a6 haskell: add support for all of Hackage
The function "callHackage <name> <version>" generates build instructions for
the requested library version on-the-fly. All of Hackage is available. Note:
this code is brand-new, experimental, and it might change in the future. Don't
base production code on this feature yet.

Example usage:

  $ nix-shell -p 'haskellPackages.callHackage "cpphs" "1.19.3" {}' --run "cpphs --version"
  cpphs 1.19.3

  $ nix-shell -p 'haskellPackages.ghcWithPackages (self: [(self.callHackage "hsdns" "1.6.1" {})])' --run "ghc-pkg list hsdns"
  /nix/store/p6r81k2vb2pzy4wcvri6z9m492i0hg63-ghc-8.0.1/lib/ghc-8.0.1/package.conf.d
      hsdns-1.6.1
2016-06-12 08:37:06 +02:00
Peter Simons 52aad6c77d haskell.lib.withHoogle: remove obsolete function 2016-06-12 08:37:06 +02:00
Peter Simons 00bebe798c haskell-http2: remove obsolete override 2016-06-12 08:37:06 +02:00
Peter Simons cc09d421f2 haskell-hslogger: fix LTS build 2016-06-12 08:37:05 +02:00
Peter Simons 71f0092143 haskell-lhc: drop obsolete override 2016-06-12 08:37:05 +02:00
Peter Simons 8ffcd238c3 haskell-generic-builder: add support for setupHaskellDepends 2016-06-12 08:37:01 +02:00
Peter Simons bef4cf54d5 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160611 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/8f99b2654a0009e6a88aabef9002b6af2d03ec2b
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1a80e0660e630f6dd98f34c3d82c23dc824ada01
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/504ee2b3bbedca0ea623d0d914a00509d3386067
2016-06-12 08:36:53 +02:00
Peter Simons 0f7a0a0377 haskell-stack: apply small patch from Git to fix "stack repl" for GHC 8.x 2016-06-10 14:41:01 +02:00
Peter Simons 7914242b37 haskell-timezone-series: fix build with GHC 8.0.1
- Fix the incorrect sha256 hash of the patch.
 - Apply the patch only when compiling with GHC 8.0.x.
2016-06-09 21:51:09 +02:00
Peter Simons cf042ae750 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160406-38-g2269395 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/65d1dbe8dd1e2e501650ff6613c8927068074afa
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1a80e0660e630f6dd98f34c3d82c23dc824ada01
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/5863aeaee36019c2f376858f6212c494becf721b
2016-06-09 21:51:00 +02:00
Peter Simons dc6f1cf4b3 Merge pull request #16080 from mstarzyk/timezone-series
haskellPackages.timezone-series: Add support for time-1.6 - applied p…
2016-06-09 12:09:12 +02:00
obadz fcb0023e80 haskellPackages.intero: fix tests (thanks @rvl) 2016-06-09 08:53:47 +01:00
Maciek Starzyk 0158d124bd haskellPackages.timezone-series: Download patch instead of checking it into nixpkgs 2016-06-09 00:03:41 +02:00
Maciek Starzyk 10c87e69b4 haskellPackages.timezone-series: Add support for time-1.6 - applied patch https://github.com/ygale/timezone-series/pull/1 2016-06-08 23:35:44 +02:00
obadz d13378ffd1 haskellPackages.libmpd: remove upper bound on time 2016-06-08 19:14:27 +01:00
Peter Simons 71fc5083be git-annex: work around Joey Hess' latest brain fart
Now we're releasing incomplete Hackage tarballs on purpose:

  http://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/

You know, I'll fix this shit one last time, but on the next occasion
upstream breaks the build for no apparent reason, I'm going to abandon
this project and leave it to someone else to package, because these kind
of wacko engineering decisions cast a bad light on the soundness of
git-annex as a whole, IMHO.
2016-06-07 21:59:52 +02:00
Peter Simons 637f901f3e hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160406-35-g2a2d30b using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/7a03eee484403afa4c961acee11328f77d9b0af2
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1a80e0660e630f6dd98f34c3d82c23dc824ada01
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/7e90e5529b7f1b4c43ebff3e348913c87314d79a
2016-06-07 21:59:04 +02:00
Peter Simons 3e4cd62903 Merge pull request #16053 from obadz/ghc-mod-ghc8
haskellPackages.ghc-mod: add support for GHC8
2016-06-07 21:50:35 +02:00
obadz 99717f7a56 haskellPackages.intero: don't run tests 2016-06-07 20:36:35 +01:00
obadz 679a51b116 haskellPackages.ghc-mod: add overrides to support ghc8 2016-06-07 20:33:48 +01:00
Peter Simons 0cc1b3744e haskell-semigroups: fix build with older compilers 2016-06-06 09:33:31 +02:00
Peter Simons a01fab64e2 haskell-binary: update overrides for latest version 2016-06-06 09:33:31 +02:00
Peter Simons c7639f4e56 haskell-esqueleto: remove broken overrides
These overrides didn't work, because they created a mixture of different
versions of 'persistent' in the build tree. Furthermore, we cannot pin
specific versions like that in configuration-common.nix because this
breaks builds in other package sets, i.e. the LTS variants.
2016-06-06 09:33:30 +02:00
Peter Simons 513d648f40 configuration-common.nix: drop obsolete overrides 2016-06-06 09:33:30 +02:00
Peter Simons ac3ccce0c1 hackage-packages.nix: update Haskell package set
This update was generated by hackage2nix v20160406-31-gd9dda87 using the following inputs:

  - Hackage: https://github.com/commercialhaskell/all-cabal-hashes/commit/4c643345f3ecb0df4adddd9efe065cc714db7c24
  - LTS Haskell: https://github.com/fpco/lts-haskell/commit/1a80e0660e630f6dd98f34c3d82c23dc824ada01
  - Stackage Nightly: https://github.com/fpco/stackage-nightly/commit/3ba38d9d9e5f2801666fa94ad807f2645f0b0203
2016-06-06 09:33:25 +02:00
Peter Simons d27881c014 haskell-pandoc: fix build 2016-06-03 16:12:41 +02:00
Peter Simons d2bb38e59b configuration-ghc-8.0.x.nix: throw out commented-out code 2016-06-03 16:12:41 +02:00
Peter Simons 3fd03fb644 haskell-pandoc: add myself as a maintainer 2016-06-03 16:12:41 +02:00