Merge pull request #39437 from LumiGuide/fix-source-and-tags
source-and-tags: fix default.nix
This commit is contained in:
commit
d85795a1c7
@ -1,4 +1,4 @@
|
|||||||
args: with args; {
|
{ stdenv, lib, glibcLocales, unzip, hasktags, ctags } : {
|
||||||
# optional srcDir
|
# optional srcDir
|
||||||
annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags
|
annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags
|
||||||
|| x ? meta && x.meta ? sourceWithTags );
|
|| x ? meta && x.meta ? sourceWithTags );
|
||||||
@ -59,7 +59,7 @@ args: with args; {
|
|||||||
# without this creating tag files for lifted-base fails
|
# without this creating tag files for lifted-base fails
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export LANG=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 ""}
|
${if stdenv.isLinux then "export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive;" else ""}
|
||||||
|
|
||||||
${toString hasktags}/bin/hasktags --ignore-close-implementation --ctags .
|
${toString hasktags}/bin/hasktags --ignore-close-implementation --ctags .
|
||||||
mv tags \$TAG_FILE
|
mv tags \$TAG_FILE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user