Commit Graph

95 Commits

Author SHA1 Message Date
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Peter Simons
3110ba445f cabal2nix: update to version 20160406 2016-04-07 07:53:57 +02:00
Peter Simons
588a237e9e cabal2nix: update to version 20160308 2016-03-08 17:55:04 +01:00
Peter Simons
16e9b44afa cabal2nix: update to version 20151217 2015-12-18 11:37:44 +01:00
Peter Simons
5c1afdd5f6 cabal2nix: update to version 20150922 2015-09-23 15:08:19 +02:00
Peter Simons
6b682a9e37 haskell-language-nix: pull this library in from Hackage 2015-09-11 10:28:30 +02:00
Peter Simons
f6fd6defa5 haskell-nix-paths: pull the library in from Hackage now that it's been published 2015-09-11 10:28:30 +02:00
Peter Simons
1e5e17eeac haskell-nix-paths: initial version 1 2015-09-09 11:31:14 +02:00
Peter Simons
ca9158fa82 cabal2nix: fix version number 20180903 to 20150903
Thanks to @drvink for pointing this out.
2015-09-07 23:35:45 +02:00
Peter Simons
06a7b22985 cabal2nix: fix https://github.com/NixOS/cabal2nix/issues/203 some more 2015-09-07 17:34:59 +02:00
Peter Simons
d4f7bf9c29 cabal2nix: re-generate the build files to make sure all dependencies are listed correctly
Fixes https://github.com/NixOS/cabal2nix/issues/203.
2015-09-07 16:03:28 +02:00
Peter Simons
65a415a1b2 cabal2nix: update to version 20180903 2015-09-03 17:53:24 +02:00
Peter Simons
ada81b80fd cabal2nix: update to version 20150824-66-gd281a60
This patch fixes https://github.com/NixOS/nixpkgs/issues/9599.
2015-09-02 17:46:39 +02:00
Peter Simons
b2c3c58476 cabal2nix: add myself as a maintainer 2015-08-30 12:49:45 +02:00
Aycan iRiCAN
523cd395c7 cabal2nix: fixed sha256 hash 2015-08-30 11:47:25 +03:00
Peter Simons
b106fbfb4f cabal2nix: update to version 20150824 2015-08-25 17:15:41 +02:00
Aycan iRiCAN
afe6f05310 cabal2nix: fixed sha256 hash
I was getting below error:
output path ‘/nix/store/i73iz0id6ap6qg1p6jaqadl053h2cgfz-cabal2nix-9f58996’ should have r:sha256 hash ‘1w5ba7cdanpq4nr8xngk1jsj0p6b17c6ap24ldzggrln216f3f7d’, instead has ‘0vy18gmyrw72m98psz7hz51aqj66b98h1pdv98hf3k1hrdva3ncv’
2015-08-22 11:04:09 +03:00
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
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
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
Peter Simons
615787e6da haskell-cabal2nix: update to version 1.73 2015-01-08 20:17:04 +01:00
Peter Simons
85f5c1a1dd haskell-cabal2nix: update to version 1.72 2014-12-05 19:14:45 +01:00
Peter Simons
b5f514a3f5 haskell-cabal2nix: update to version 1.71 2014-11-01 17:45:10 +01:00
Peter Simons
2da7e03ed7 cabal2nix: fix build with old versions of GHC 2014-10-08 21:04:31 +02:00
Peter Simons
48b1e3d72b haskell-cabal2nix: update to version 1.70 2014-10-06 11:21:39 +02:00
Peter Simons
40fdda7237 haskell-cabal2nix: update to version 1.69 2014-08-24 20:28:11 +02:00
Peter Simons
d3c68cd723 haskell-cabal2nix: update to version 1.68 2014-08-12 16:09:22 +02:00
Peter Simons
5ebc4d829b Re-generate Haskell expressions with latest cabal2nix. 2014-08-09 13:49:24 +02:00
Peter Simons
18250b97ae Remove 'andres' from the meta.maintainer section of all Haskell package where I
had added him earlier.
2014-08-09 13:49:24 +02:00
Peter Simons
ae6d32ffd3 haskell-cabal2nix: update to version 1.67 2014-07-31 15:48:30 +02:00
Peter Simons
ea4767221f haskell-cabal2nix: update to version 1.66 2014-07-16 12:51:43 +02:00
Peter Simons
6a8ee6ad5c haskell-cabal2nix: update to version 1.65 2014-07-14 17:39:15 +02:00
Peter Simons
d2e731e111 Add "please don't edit" comment at the top of every auto-generated Haskell file. 2014-07-14 13:21:41 +02:00
Peter Simons
a77078b84a haskell-cabal2nix: update to version 1.64 2014-07-10 13:12:14 +02:00
Peter Simons
5becd18203 haskell-cabal2nix: update to version 1.63 2014-06-12 10:03:32 +02:00
Peter Simons
1237886a91 haskell-cabal2nix: update to version 1.61 2014-04-02 18:17:02 +02:00
Peter Simons
2a1f4c82b2 haskell-cabal2nix: update to version 1.60 2014-02-19 16:07:35 +01:00
Peter Simons
5333854aa4 haskell-cabal2nix: re-generate with cabal2nix 2014-01-20 18:06:05 +01:00
Peter Simons
03b17fdab2 haskell-cabal2nix: update to version 1.58 2014-01-11 12:03:41 +01:00
Peter Simons
ac692ddb50 haskell-cabal2nix: update to version 1.57 2013-12-29 12:26:07 +01:00
Peter Simons
a5d046d007 cabal2nix: the test suite compiles only on GHC 7.6.x or later
See <https://github.com/sol/doctest-haskell/issues/69> for further details.
2013-12-29 12:26:07 +01:00
Peter Simons
fd5f6e81f6 haskell-cabal2nix: update to version 1.56 2013-12-03 22:23:22 +01:00