Commit Graph

449 Commits

Author SHA1 Message Date
Peter Simons
3dbfcdc3d4 cabal2nix: make the package visible from the top-level
This means that "nix-env -i cabal2nix" suffices to install this package.
2015-08-07 23:08:13 +02:00
Peter Simons
13dc24f5c3 cabal2nix: update to version 20150807-6-g9f58996
The generated shell.nix file accepts a string argument called "compiler" that
determines the package set used to instantiate the generated expression. For
example, running "nix-shell --argstr compiler ghc7102" would evaluate the build
inside of "pkgs.haskell.packages.ghc7102". Earlier versions of cabal2nix had the
current default compiler hard-coded in the expression, but after this change this
is no longer the case. When "compiler" remains unspecified, it defaults to
"default", and this value causes evaluation in "pkgs.haskellPackages", which is
the package set most people would like to use by default. That change has to
benefits:

 1) Generated expression no longer contain any particular compiler version. The
    choice of the default compiler depends on the version of Nixpkgs that's used
    to build the expression.

 2) When the default compiler is used, overrides configured for the default
    package set apply, which was not the case in earlier versions.
2015-08-07 23:08:13 +02:00
Peter Simons
29fed6f834 cabal2nix: update to version 20150807
This update greatly enhances the accuracy with which dependencies are expressed
in the generated Nix files. Previous versions distinguished dependencies for
building ("buildDepends") and testing ("testDepends"). This distinction didn't
apply to system packages or build tools, however: the fields "extraLibs" and
"buildTools" applied to the entire build. This meant that dependencies required
only for testing would be pulled in regardless of whether the test were
actually being run, etc.

These days, we distinguish dependencies for libraries, executables, and tests,
and for each of those types we distinguish dependencies on Haskell libraries,
system libraries, pkgconfig libraries, and build tools. This gives us a
whopping 12 new attributes

    xxxHaskellDepends
    xxxSystemDepends
    xxxPkgconfigDepends
    xxxToolDepends

where "xxx" is any of "library", "executable", or "test".

The old dependency attributes are no longer generated by cabal2nix. The generic
builder in Nixpkgs still accepts them, though, for the sake of backwards
compatibility. This means that you don't have to re-generate all your build
expressions with the new version, but you *should*.
2015-08-07 15:03:58 +02:00
Peter Simons
4d404fd6a4 ihaskell-wrapper: avoid use of /bin/sh
https://github.com/NixOS/nixpkgs/issues/183
2015-06-12 10:50:40 +02:00
Peter Simons
7acb77ca2b cabal2nix: run "git reset --hard" to clean up the source to avoid the "-dirty" tag 2015-06-05 12:42:34 +02:00
Peter Simons
c659105ef8 cabal2nix: get rid of the '-dirty' version suffix
The fetchgit builder performs some freak magic in the name of deterministic
hashes that screws up git's idea of a clean directory tree.
2015-06-04 13:33:57 +02:00
Peter Simons
c55ca3fd0b cabal2nix: update to version 20150531
This update adds support for bash completion.
2015-05-31 18:31:26 +02:00
Peter Simons
d808f5b3e6 cabal2nix: update to version 20150525 2015-05-25 15:00:07 +02:00
Peter Simons
61224338ff cabal2nix: update to version 20150518 2015-05-18 18:04:37 +02:00
Peter Simons
ea3b8cd918 cabal2nix: update to version 20150505 2015-05-05 21:44:48 +02:00
Peter Simons
11bf7502cc Remove obsolete entries from pkgs/development/tools/haskell. 2015-05-04 12:27:02 +02:00
Peter Simons
cde5088bec cabal2nix: the hash has changed because of the newly added tag 2015-04-23 19:55:55 +02:00
Peter Simons
019b18722d cabal2nix: bump to latest version and wrap it to include nix-prefetch-scripts in $PATH 2015-04-23 14:12:43 +02:00
Nikolay Amiantov
91f3912b5d lambdabot: add configuration 2015-04-20 18:56:43 +03:00
Nikolay Amiantov
4c1afe5cce leksah: move to haskell tools and add cabal to path 2015-04-16 15:53:57 +03:00
Nikolay Amiantov
5dec393125 lambdabot, mueval: move to development/tools/haskell 2015-04-16 15:53:57 +03:00
Edward Tjörnhammar
dfc8e5ab05 ihaskell: cleanup wrapper and service 2015-04-15 23:00:03 +02:00
Edward Tjörnhammar
f13d9f28e8 ihaskell: deprecate old haskellPackages expression 2015-04-11 00:09:31 +02:00
Edward Tjörnhammar
7814b1739b ihaskell-with-packages: add environment 2015-02-02 23:00:46 +01:00
Edward Tjörnhammar
14f6ea9d3c ihaskell: be more paranoid about profile initialization 2015-01-19 21:11:04 +01:00
Edward Tjörnhammar
2594999ced ihaskell: fix path to installedconf in wrapper 2015-01-17 01:26:18 +01:00
Peter Simons
615787e6da haskell-cabal2nix: update to version 1.73 2015-01-08 20:17:04 +01:00
Peter Simons
c827471185 ihaskell-wrapper: adapt so that it evaluates with the new Haskell infrastructure 2015-01-07 22:21:23 +01:00
Peter Simons
8d1167f02a haskell-liquid-fixpoint: re-generate with cabal2nix 2015-01-04 20:56:50 +01:00
Peter Simons
34ed92c995 liquidhaskell: re-generate with cabal2nix 2015-01-03 00:24:48 +01:00
John Wiegley
f742da0a31 liquidhaskell: new expression 2015-01-02 15:29:01 -06:00
Daniel Bergey
856fa922c4 haskell: add csv-conduit, packdeps
csv-conduit is a CSV library using conduit (streams)

packdeps is an executable to compare Haskell dependencies to latest
available versions
2014-12-19 19:35:34 +00:00
Peter Simons
5b44f1ea1d haskell-ghc-events-analyze: update to version 0.2.1 2014-12-13 14:05:41 +01:00
Peter Simons
d9566a3b35 haskell-hlint: update to version 1.9.13 2014-12-13 12:06:01 +01:00
Trevor L. McDonell
01d274e7bd Update c2hs to 0.20.1 2014-12-10 16:01:37 -05:00
Peter Simons
85f5c1a1dd haskell-cabal2nix: update to version 1.72 2014-12-05 19:14:45 +01:00
Peter Simons
0dd518cbd5 haskell-threadscope: update to version 0.2.6 2014-12-03 13:50:58 +01:00
Nikolay Amiantov
08748b4098 c2hs: update and move to development/tools 2014-11-26 01:27:07 +03:00
Nikolay Amiantov
df16451fa5 c2hsc: move to development/tools 2014-11-26 01:27:07 +03:00
Peter Simons
2440e27ee5 haskell-keter: update to version 1.3.6 2014-11-24 16:24:11 +01:00
Peter Simons
56bdbabbc5 haskell-cabal-bounds: update to version 0.8.9 2014-11-24 16:24:11 +01:00
Peter Simons
86d980bd59 haskell-packunused: update to version 0.1.1.3 2014-11-24 16:24:06 +01:00
Peter Simons
b34dbe1b90 haskell-cabal-db: update to version 0.1.11 2014-11-14 14:13:41 +01:00
Peter Simons
76ed569875 Drop obsolete versions of Haskell cairo, glib, gtk, pango, threadscope, and some other patches. 2014-11-13 17:21:33 +01:00
Peter Simons
a5be2282a7 haskell-keter: update to version 1.3.5.3 2014-11-13 14:51:38 +01:00
Peter Simons
7cc2c31eca haskell-hlint: update to version 1.9.12 2014-11-13 14:51:38 +01:00
Peter Simons
6d95d1cc29 haskell-ghcid: update to version 0.3.2 2014-11-13 14:51:38 +01:00
Peter Simons
a7748b9fc8 haskell-cabal-bounds: update to version 0.8.8 2014-11-13 14:51:38 +01:00
Peter Simons
d2c0c6102e haskell-threadscope: update to version 0.2.5 2014-11-13 14:51:36 +01:00
Mateusz Kowalczyk
7ae2cca1dc haskell-PastePipe: update to 1.7 2014-11-12 13:43:19 +00:00
Peter Simons
a93512d71f hasktags: jailbreak to fix build with latest 'json' 2014-11-07 23:22:27 +01:00
Peter Simons
f9db7db531 haskell-keter: update to version 1.3.5.1 2014-11-07 23:22:27 +01:00
Peter Simons
183c297ea1 haskell-hdevtools: update hash of the patch after its pull request has been rebased 2014-11-07 12:21:48 +01:00
Peter Simons
0346efdabf Merge pull request #4813 from bosu/fix-hscope
haskell: update to hscope 0.4.1
2014-11-03 23:01:37 +01:00
John Wiegley
4219c27632 threadscope: allow building with GHC 7.8.3, and on recent OS X 2014-11-03 15:27:31 -06:00