mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
gnu global: set path of default gtags.conf in wrapper
GNU global's gtags and global tools were unable to find the default gtags.conf, necessary to use gtagslabels. The error could be seen when gtags was invoked with -v: $ gtags -v --gtagslabel=pygments [Sun Mar 19 14:13:17 UTC 2017] Gtags started. Using default configuration. GTAGSLABEL(--gtagslabel) ignored since configuration file not found. Using 'gtags.files' as a file list. [Sun Mar 19 14:13:17 UTC 2017] Creating 'GTAGS' and 'GRTAGS'. [Sun Mar 19 14:13:17 UTC 2017] Done. The wrapper now points to the default gtags.conf using the GTAGSCONF environment variable.
This commit is contained in:
parent
8565047bdd
commit
bd0d64730a
@ -34,8 +34,10 @@ stdenv.mkDerivation rec {
|
||||
cp -v *.el "$out/share/emacs/site-lisp"
|
||||
|
||||
wrapProgram $out/bin/gtags \
|
||||
--prefix GTAGSCONF : "$out/share/gtags/gtags.conf" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
|
||||
wrapProgram $out/bin/global \
|
||||
--prefix GTAGSCONF : "$out/share/gtags/gtags.conf" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user