Commit Graph

820 Commits

Author SHA1 Message Date
Peter Simons
ba809cf9a3 haskell: add three new helper functions to the lib module
- sdistTarball transforms a normal Haskell build into one that produces a
   release tarball by running "sdist". For example:

     $ nix-shell -p "haskell.lib.sdistTarball haskellPackages.mtl" --command 'tar tfv $nativeBuildInputs/*tar.gz'

 - buildFromSdist transforms a normal Haskell build into one that compiles the
   package the an sdist release tarball created by Nix. For example:

     $ nix-shell -p "haskell.lib.buildFromSdist haskellPackages.mtl" --command "exit 0"

 - buildStrictly transforms a normal Haskell build into one that (a) compiles
   the source code with "-Wall -Werror" flags and (b) uses as input a locally
   generated sdist release tarball. For example:

     $ nix-shell -p "haskell.lib.buildStrictly haskellPackages.mtl" --command "exit 0"

   This function is particularly useful for continuous Hydra builds of Haskell
   packages.
2015-06-02 14:17:16 +02:00
Peter Simons
52829ce24a Disable broken builds for Haskell packages gitit and influxdb. 2015-06-02 10:32:31 +02:00
Peter Simons
921b000fa5 haskell-base-noprelude: disable Haddock phase on empty library 2015-06-02 10:32:31 +02:00
Peter Simons
682e37e586 haskell-iconv: GHC 7.10.x support was added upstream 2015-06-02 10:32:31 +02:00
Peter Simons
873fa649e8 cabal-install: break infinite recursion on ghc 7.6.x and 7.4.x. 2015-06-02 10:32:31 +02:00
Peter Simons
0d484e999b haskell-binary: update to version 0.7.5.0 2015-06-02 10:32:31 +02:00
Peter Simons
3e0513ea86 haskell-cabal-helper wants to store test suite data in $HOME 2015-06-02 10:32:31 +02:00
Peter Simons
ecac359ccf ghc-7.10.x: trigger re-builds to recover from non-determinstic library ID 2015-06-02 10:32:31 +02:00
Peter Simons
32757ef184 hackage-packages.nix: update to bfbb2bc96c with hackage2nix revision d0ef14cd08973bdb61a29700ef07b1149c86b7a3 2015-06-02 10:32:27 +02:00
Peter Simons
845bf204df Merge pull request #8095 from ryantrinkle/fix-install-name-tool
Do not use install_name_tool on "executables" built by GHCJS
2015-05-31 23:07:11 +02:00
Robert Helgesson
555ee2f7ba Add patch for haskell-iconv to support GHC 7.10. 2015-05-31 11:29:56 +02:00
Ryan Trinkle
82bd3a5580 Do not use install_name_tool on "executables" built by GHCJS
These executables are really .jsexe directories, and install_name_tool will fail
2015-05-31 03:18:13 -04:00
Peter Simons
1cc014fdae hackage-packages.nix: update to a0ad41c6f5 with hackage2nix revision 4d6361f0199d51068066c62bb0ca5c18530161f4 2015-05-30 19:55:32 +02:00
Peter Simons
7c9cf6d6c2 haskell-syb-with-class: remove obsolete patches 2015-05-30 19:54:43 +02:00
Peter Simons
b73c3c7d9f haskell-cipher-aes fails its test suite. 2015-05-30 19:54:43 +02:00
Peter Simons
413985fa34 haskell-servant has been fixed upstream. 2015-05-30 19:54:43 +02:00
Peter Simons
83f6a29266 haskell-hslua: version 0.4.x still doesn't work with lua 5.2 2015-05-30 19:54:43 +02:00
Peter Simons
d55272a535 haskell-pipes-errors: fix evaluation of override for latest 'errors' 2015-05-30 19:54:43 +02:00
Peter Simons
8732feab5a haskell-llvm-general is broken with recent versions of LLVM. 2015-05-30 19:54:43 +02:00
Peter Simons
2814e5ce11 haskell-Cabal-ide-backend: like all Cabals, this fork can't run its test suite in Nix 2015-05-30 19:54:43 +02:00
Peter Simons
d2496ba142 haskell-pandoc: install man pages 2015-05-30 19:54:43 +02:00
Peter Simons
62d691b4ca haskell-pandoc: don't use shared linking for executables
The build contains special magic surrounding the build of make-pandoc-man-pages,
and that magic fails in case we link binaries dynamically.
2015-05-30 19:54:43 +02:00
Peter Simons
a1c0a00dac haskell-text-binary: remove patch that's contained in version 0.2.x 2015-05-30 19:54:43 +02:00
Peter Simons
c139b0593c Fix haskell-spaceprobe and llvm-general. 2015-05-30 19:54:43 +02:00
Peter Simons
ef0d959fe9 haskell-BNFC: build has been fixed, but the test suite still won't compile 2015-05-30 19:54:43 +02:00
Peter Simons
e5a1818745 haskell-mueval is broken (and has been for a while) 2015-05-30 19:54:42 +02:00
Peter Simons
8b80062185 haskell-configuration-ghc-7.10.x: remove obsolete override for old c2hs version 2015-05-30 19:54:42 +02:00
Peter Simons
8c03484b3b haskell-ncurses: remove obsolete override 2015-05-30 19:54:42 +02:00
Peter Simons
35b2be0d24 hackage-packages.nix: update to 19c8675e5d with hackage2nix revision 66f6b1336269ffa8e106822407e09e3dbadffcd1 2015-05-30 19:54:42 +02:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Tobias Geerinckx-Rice
b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00
Peter Simons
8cc5c08808 Updated patches for Haskell packages mueval and misfortune. 2015-05-27 20:25:11 +02:00
Mateusz Kowalczyk
4128b474f4 haskell-Agda: overrides are no longer necessary 2015-05-26 05:51:33 +01:00
Peter Simons
1b66d9318b hackage-packages.nix: update to 67bad0d79a with hackage2nix revision fb67f15c8cb79342f5719342c1b1b42e134bcce4 2015-05-25 20:43:39 +02:00
Peter Simons
3fa1b2183a hackage-packages.nix: update to 8ed599c155 with hackage2nix revision 61d7380337df7e1b568c1b30f4d97e5c2df42b66 2015-05-25 00:19:14 +02:00
Peter Simons
3440c4c8e4 hackage-packages.nix: update to a4032345e0 with hackage2nix revision ca778c8501c0d2e3c44fa9016b1f79cdf6f3dcc2 2015-05-24 05:19:27 +02:00
Peter Simons
f0311f9b8c haskell-lzma-enumerator: test suite is broken (and has been for quite a while) 2015-05-23 15:16:31 +02:00
Peter Simons
c32c742a82 haskell-textocat-api: test suite tries to access the network 2015-05-23 15:12:20 +02:00
Peter Simons
e25b42d852 cabal-install: avoid inconsistent 'binary' versions on ghc-7.4.x and ghc-7.6.x 2015-05-23 15:09:29 +02:00
Peter Simons
70a7f7c14d haskell-configuration-common: use overrideScope on cabal-install instead of override
This patch works around https://github.com/NixOS/nixpkgs/issues/7953 so
that we can use overrideScope on this attribute in the GHC 7.6.x package
set (see next commit).
2015-05-23 15:09:29 +02:00
Peter Simons
18a6e7171e haskell-hbro-contrib: missing dependency hbro has been fixed upstream 2015-05-23 15:09:29 +02:00
Peter Simons
58e96c79d8 haskell-text-binary: patch to fix build with text-1.2.1.0 or later
https://github.com/kawu/text-binary/pull/1
2015-05-23 15:09:29 +02:00
Michael Alan Dorman
e281707ae9 lens-action has been fixed. 2015-05-23 15:09:29 +02:00
Peter Simons
0a329f4512 hackage-packages.nix: update to 381af77b54 with hackage2nix revision ca778c8501c0d2e3c44fa9016b1f79cdf6f3dcc2 2015-05-23 15:09:25 +02:00
Peter Simons
f3b68ea7e0 haskell-gitlib has been fixed upstream.
Resolves https://github.com/peti/nixpkgs/pull/6.
2015-05-22 16:35:55 +02:00
Peter Simons
4e3669b6ea haskell-configuration-ghc-7.10.x: update ticket URL for ghc-mod 2015-05-22 16:35:55 +02:00
Peter Simons
791e865c3e haskell-token-bucket: disable test suite to avoid build failure because of an apparently trivial error 2015-05-22 16:35:55 +02:00
Peter Simons
f25d2e1a71 haskell-snap: drop obsolete override 2015-05-22 16:35:55 +02:00
Peter Simons
2e01d4a2b6 haskell-pipes-errors: fix build of latest (non-default) version 2015-05-22 16:35:55 +02:00
Peter Simons
da6567785b hackage-packages.nix: update to 134ac5a06c with hackage2nix revision a31a6f02a9c437a93e5f13394aa2268f476433aa 2015-05-22 16:35:52 +02:00