mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
gede: add ctags and gdb to path via wrapper
This commit is contained in:
parent
4f320d30a4
commit
0040dbaf69
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ctags, qt4, python }:
|
||||
{ stdenv, fetchurl, makeWrapper, python, qt4, ctags, gdb }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gede-${version}";
|
||||
@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1znlmkjgrmjl79q73xaa9ybp1xdc3k4h4ynv3jj5z8f92gjnj3kk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python ];
|
||||
nativeBuildInputs = [ makeWrapper python ];
|
||||
|
||||
buildInputs = [ ctags qt4 ];
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i build.py -e 's,qmake-qt4,qmake,'
|
||||
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
python build.py install --prefix="$out"
|
||||
wrapProgram $out/bin/gede \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ ctags gdb ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user