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:
24
pkgs/development/tools/misc/hasktags/default.nix
Normal file
24
pkgs/development/tools/misc/hasktags/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user