modified improved hasktags (can be removed when my changes are merged into ghc)

improved ghcs expression file Now you have tags for all libraries.
I still have to work on speed

svn path=/nixpkgs/trunk/; revision=10657
This commit is contained in:
Marc Weber
2008-02-13 11:15:08 +00:00
parent 9b81f2ae65
commit fe5caa2f0f
3 changed files with 133 additions and 106 deletions

View File

@@ -0,0 +1,24 @@
args:
args.stdenv.mkDerivation {
name = "hasktags-modified";
src = args.fetchurl {
url = http://mawercer.de/hasktags.hs;
sha256 = "112k97g6mgvwa0a9zrq840mqxxw55cn422h1c134xb0fl29llig7";
};
buildInputs =(with args; [ghc]);
phases = "buildPhase";
# calling it hasktags-modified to not clash with the one distributed with ghc
buildPhase = "
ensureDir \$out/bin
ghc --make \$src -o \$out/bin/hasktags-modified
";
meta = {
# this can be removed again when somone comitts my changes into the distribution
description = "Marc's modified hasktags";
};
}