Skip to content

Commit

Permalink
Merge pull request #22370 from eqyiel/master
Browse files Browse the repository at this point in the history
gnome-tweak-tool: trick autoconf into using python2
  • Loading branch information
LnL7 committed Feb 2, 2017
2 parents 9f334c2 + e2b7482 commit a5a4b13
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/desktops/gnome-3/3.22/misc/gnome-tweak-tool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5a4b13

Please sign in to comment.