global: use python3
This commit is contained in:
parent
5c8e424b84
commit
34c23dbb42
@ -1,8 +1,10 @@
|
|||||||
{ fetchurl, lib, stdenv, libtool, makeWrapper
|
{ fetchurl, lib, stdenv, libtool, makeWrapper
|
||||||
, coreutils, ctags, ncurses, pythonPackages, sqlite, universal-ctags
|
, coreutils, ctags, ncurses, python3Packages, sqlite, universal-ctags
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
pygments = python3Packages.pygments;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
pname = "global";
|
pname = "global";
|
||||||
version = "6.6.5";
|
version = "6.6.5";
|
||||||
|
|
||||||
@ -15,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ pythonPackages.pygments ];
|
propagatedBuildInputs = [ pygments ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ltdl-include=${libtool}/include"
|
"--with-ltdl-include=${libtool}/include"
|
||||||
@ -34,9 +36,9 @@ stdenv.mkDerivation rec {
|
|||||||
cp -v *.el "$out/share/emacs/site-lisp"
|
cp -v *.el "$out/share/emacs/site-lisp"
|
||||||
|
|
||||||
wrapProgram $out/bin/gtags \
|
wrapProgram $out/bin/gtags \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
|
--prefix PYTHONPATH : "$(toPythonPath ${pygments})"
|
||||||
wrapProgram $out/bin/global \
|
wrapProgram $out/bin/global \
|
||||||
--prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
|
--prefix PYTHONPATH : "$(toPythonPath ${pygments})"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user