Commit Graph

503 Commits

Author SHA1 Message Date
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
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
Boris Sukholitko
68183b8f5f Update to hscope 0.4.1 2014-11-03 23:04:10 +02:00
Peter Simons
67af48c420 haskell-ihaskell: update to version 0.4.3.0 2014-11-01 21:08:02 +01:00
Peter Simons
30122cd974 haskell-hslogger: update to version 1.2.6 2014-11-01 21:08:02 +01:00
Peter Simons
4e31c212ba haskell-ghcid: update to version 0.3.1 2014-11-01 21:08:02 +01:00
Peter Simons
b5f514a3f5 haskell-cabal2nix: update to version 1.71 2014-11-01 17:45:10 +01:00
Jirka Marsik
ce6f7f6ff0 Added ghcid-0.2
The .nix file was generated by cabal2nix. However, I still had to set
doCheck = false since some of the tests try to run `cabal repl` which
presupposes access to $HOME/.cabal and thus cannot be done from the Nix
sandbox where HOME = /homeless-shelter.
2014-10-28 18:41:22 +01:00
Edward Tjörnhammar
8ca1c6aba7 haskellPackages.ihaskell: apply compile patch 2014-10-22 20:50:50 +02:00
Peter Simons
b0ea187001 ihaskell-wrapper: inherit the meta section from ihaskell 2014-10-22 11:47:08 +02:00
aszlig
0c968c9a0e
ihaskell/wrapper: Fix eval by marking as broken.
Introduced by 5e03d07621.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-10-22 09:21:53 +02:00
Peter Simons
8953fb5e7d haskell-ihaskell: set hydraPlatforms to none to avoid evaluation errors 2014-10-22 08:12:42 +02:00
Peter Simons
5e03d07621 ihaskell: broken by the recent classy-prelude update
@edwtjo: http://hydra.cryp.to/build/208767/nixlog/1/raw
2014-10-21 23:04:40 +02:00
Peter Simons
6b73aaed7f haskell-keter: update to version 1.3.5 2014-10-21 23:04:40 +02:00
Peter Simons
ff7dcbc8ba haskell-hlint: update to version 1.9.10 2014-10-21 15:36:21 +02:00
Peter Simons
279c2c8691 haskell-cabal-db: update to version 0.1.10 2014-10-21 15:36:21 +02:00
Peter Simons
8a90c85f54 haskell-graphmod: update to version 1.2.6 2014-10-19 16:55:23 +02:00
Mateusz Kowalczyk
a21d3b67e5 haskell-PastePipe: update to 1.6 2014-10-15 05:14:35 +01:00
Peter Simons
c549ac9c1a haskell-hlint: update to version 1.9.9 2014-10-15 00:24:33 +02:00
Peter Simons
608c0271d8 haskell-SourceGraph: broken by haskell-src-exts update 2014-10-14 17:39:35 +02:00
Peter Simons
c0fa3d1b48 haskell-PastePipe: broken by update to network 2.6.x 2014-10-14 17:39:34 +02:00
Peter Simons
97118ad9c7 ihaskell: jailbreak to fix build with recent haskell-src-exts and classy-prelude 2014-10-14 17:39:34 +02:00
Peter Simons
e594ae66fa hscope: mark broken 2014-10-14 17:39:32 +02:00
Peter Simons
6651fe463e haskell-cabal-db: mark broken 2014-10-14 17:39:32 +02:00
Peter Simons
1408b26a0a haskell-pointfree: update to version 1.0.4.8 2014-10-14 17:39:26 +02:00
Peter Simons
2517c46673 haskell-hlint: update to version 1.9.8 2014-10-14 17:39:26 +02:00
Peter Simons
7772b86089 haskell-codex: update to version 0.2.0.2 2014-10-14 17:39:24 +02:00
Peter Simons
89a1d681dd haskell-hsb2hs: add version 0.2 2014-10-13 10:16:23 +02:00
Peter Simons
fddc96be7e haskell-timeplot: update to version 1.0.27 2014-10-13 09:12:25 +02:00
Peter Simons
a0698ad5c2 haskell-BNFC: update to version 2.7.1 2014-10-13 09:12:24 +02:00
Peter Simons
2da7e03ed7 cabal2nix: fix build with old versions of GHC 2014-10-08 21:04:31 +02:00
Peter Simons
e3d0676b65 haskell-BNFC: update to version 2.7.0.1 2014-10-06 11:21:39 +02:00
Peter Simons
48b1e3d72b haskell-cabal2nix: update to version 1.70 2014-10-06 11:21:39 +02:00
Mateusz Kowalczyk
5bb8260bfb haskell-graphmod: new package 2014-10-04 07:54:12 +01:00
Edward Tjörnhammar
6becaca7b3 ihaskell: added package 2014-10-02 20:53:55 +02:00
Peter Simons
de12a8f49c haskell-keter: update to version 1.3.4 2014-09-23 19:02:52 +02:00
Peter Simons
cb3ee96ae7 haskell-codex: update to version 0.1.0.5 2014-09-23 19:02:52 +02:00
Peter Simons
44d0ad4c19 haskell-cake3: update to version 0.5.2.0 2014-09-23 19:02:51 +02:00
Peter Simons
e444af5eb3 haskell-uuagc-cabal: update to version 1.0.6.0 2014-09-20 11:29:36 +02:00
Peter Simons
b4c812641c haskell-cabal-bounds: update to version 0.8.7 2014-09-20 11:29:36 +02:00
Peter Simons
2fcbff576a haskell-timeplot: broken by Chart update
https://github.com/jkff/timeplot/issues/17
2014-09-02 11:48:20 +02:00
Peter Simons
3129fb3a11 haskell-docs: broken by the recent update to Haddock 2.15 2014-09-02 11:48:20 +02:00
Peter Simons
9733b56609 haskell-cabal-bounds: update to version 0.8.6 2014-08-31 18:17:01 +02:00
Peter Simons
b259dde853 haskell-codex: update to version 0.1.0.4 2014-08-31 18:17:00 +02:00
Peter Simons
c9286fd171 haskell-hlint: update to version 1.9.4 2014-08-29 12:52:27 +02:00
Peter Simons
99a863f306 haskell-cabal-bounds: update to version 0.8.5 2014-08-24 20:28:12 +02:00
Peter Simons
40fdda7237 haskell-cabal2nix: update to version 1.69 2014-08-24 20:28:11 +02:00
Peter Simons
128039217e haskell-hdevtools: fix patch checksum one more time
It appears that upstream has re-based the pull request, thereby changing the hash.
2014-08-20 20:26:57 +02:00