3
0
Fork 0
forked from mirrors/nixpkgs

remove duplication in derivation adding tags to source

svn path=/nixpkgs/trunk/; revision=21685
This commit is contained in:
Marc Weber 2010-05-09 14:17:24 +00:00
parent d86dace29b
commit 258d886a17

View file

@ -48,7 +48,7 @@ args: with args; {
sourceWithTags = {
inherit (deriv) src;
srcDir = if deriv ? srcDir then deriv.srcDir else ".";
name = deriv.name + "-src-with-tags";
name = deriv.name;
createTagFiles = [
{ name = "${deriv.name}_haskell";
# tagCmd = "${toString ghcsAndLibs.ghc68.ghc}/bin/hasktags --ignore-close-implementation --ctags `find . -type f -name \"*.*hs\"`; sort tags > \$TAG_FILE"; }