Merge pull request #1583 from MarcWeber/submit/drop-myhasktags

drop myhasktags, current hackage version has everything my version had
This commit is contained in:
Peter Simons 2014-01-25 04:24:12 -08:00
commit a1f7094b98
4 changed files with 8 additions and 42 deletions

View file

@ -56,8 +56,13 @@ args: with args; {
tagCmd = "
srcs=\"`find . -type f -name \"*.*hs\"; find . -type f -name \"*.*hs*\";`\"
[ -z \"$srcs\" ] || {
${toString hasktags}/bin/hasktags-modified --ignore-close-implementation --ctags $srcs
sort tags > \$TAG_FILE
# without this creating tag files for lifted-base fails
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
${if args.stdenv.isLinux then "export LOCALE_ARCHIVE=${args.pkgs.glibcLocales}/lib/locale/locale-archive;" else ""}
${toString hasktags}/bin/hasktags --ignore-close-implementation --ctags .
mv tags \$TAG_FILE
}";
}
];

View file

@ -1,37 +0,0 @@
{fetchurl, stdenv, ghcPlain} :
/* use case:
packageOverrides = {
haskellCollection =
let hp = haskellPackages;
install = [ hp.QuickCheck /* ... * /];
in
misc.collection {
name = "my-haskell-packages-collection";
list = install ++ (map (x : sourceWithTagsDerivation (sourceWithTagsFromDerivation (addHasktagsTaggingInfo x) ))
(lib.filter (x : builtins.hasAttr "src" x) install ) );
};
};
*/
stdenv.mkDerivation {
name = "hasktags-modified";
version = "0.0"; # Haskell Platform 2009.0.0
src = fetchurl {
url = http://mawercer.de/~nix/hasktags.hs;
sha256 = "0zdin03n357viyyqbn2d029jxd83nyazhaxbxfc8v3jrz5pkwl2c";
};
phases="buildPhase";
buildPhase = ''
mkdir -p $out/bin
ghc --make $src -o $out/bin/hasktags-modified
'';
buildInputs = [ ghcPlain ];
meta = {
description = "my patched version of hasktags. Should be merged into hasktags?";
};
}

View file

@ -10145,7 +10145,7 @@ let
sourceAndTags = import ../misc/source-and-tags {
inherit pkgs stdenv unzip lib ctags;
hasktags = haskellPackages.myhasktags;
hasktags = haskellPackages.hasktags;
};
splix = callPackage ../misc/cups/drivers/splix { };

View file

@ -2730,8 +2730,6 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
lhs2tex = callPackage ../tools/typesetting/lhs2tex {};
myhasktags = callPackage ../tools/misc/myhasktags {};
packunused = callPackage ../development/tools/haskell/packunused {};
splot = callPackage ../development/tools/haskell/splot {};