blob: 88a0106bf2c9935251e8f7f5ed789a78c1edb6c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
args:
args.stdenv.mkDerivation {
name = "hasktags-modified";
src = args.fetchurl {
url = http://mawercer.de/hasktags.hs;
sha256 = "2c26d79fbea9dddf140022b21e8dc82562163c8457ec1fb66b351029274f856c";
};
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";
};
}
|