pmenu: use python2

This commit is contained in:
Frederik Rietdijk
2016-11-24 22:28:03 +01:00
parent 25a9889f0e
commit 3829e93942
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitLab, pythonPackages, gnome2 }: { stdenv, fetchFromGitLab, python2Packages, gnome2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pmenu-${version}"; name = "pmenu-${version}";
@@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "15bkvadr7ab44mc8gkdqs3w14cm498mwf72w5rjm2rdh55357jjh"; sha256 = "15bkvadr7ab44mc8gkdqs3w14cm498mwf72w5rjm2rdh55357jjh";
}; };
nativeBuildInputs = [ pythonPackages.wrapPython ]; nativeBuildInputs = [ python2Packages.wrapPython ];
buildInputs = [ pythonPackages.pygtk gnome2.gnome_menus ]; buildInputs = [ python2Packages.pygtk gnome2.gnome_menus ];
pythonPath = [ pythonPackages.pygtk ]; pythonPath = [ python2Packages.pygtk ];
patchPhase = '' patchPhase = ''
substituteInPlace install.sh --replace "/usr/local" "$out" substituteInPlace install.sh --replace "/usr/local" "$out"