drop myhasktags, current hackage version has everything my version had
This commit is contained in:
parent
e0000f8ad1
commit
0d0eb44a35
@ -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
|
||||
}";
|
||||
}
|
||||
];
|
||||
|
@ -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?";
|
||||
};
|
||||
}
|
@ -10138,7 +10138,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 { };
|
||||
|
@ -2719,8 +2719,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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user