Merge pull request #22370 from eqyiel/master

gnome-tweak-tool: trick autoconf into using python2
This commit is contained in:
Daiderd Jordan 2017-02-02 23:08:27 +01:00 committed by GitHub
commit a5a4b134f3

View file

@ -12,6 +12,15 @@ in stdenv.mkDerivation rec {
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
# Make sure that Python 2 is first in $PATH because gnome3.gnome_shell
# propagates python3Packages.python. If we do not do this, autoconf will use
# Python 3 instead which gnome-tweak-tool does not support at this time. See:
# https://github.com/NixOS/nixpkgs/issues/21851
# https://github.com/NixOS/nixpkgs/pull/22370
preConfigure = ''
PATH="${python}/bin:$PATH"
'';
makeFlags = [ "DESTDIR=/" ];
buildInputs = [ pkgconfig gtk3 glib intltool itstool libxml2