about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2016-04-15 17:31:52 +0200
committerDamien Cassou <damien@cassou.me>2016-04-15 17:31:52 +0200
commit05a956cbad79b9b607027d8162cc1c1e7e49b927 (patch)
tree2b429cee1af1247670b35587a0b524b59cd0027b /pkgs/desktops
parent8b3c4348abf6e5d64c989797f7cefc17ff3e3b44 (diff)
parent567b83bc913c376a39d8f95f30e6bc2f0e9f4182 (diff)
downloadnixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar.gz
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar.bz2
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar.lz
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar.xz
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.tar.zst
nixlib-05a956cbad79b9b607027d8162cc1c1e7e49b927.zip
Merge pull request #14716 from NicolasPetton/gnome-shell-extension-tool-does-not-run
gnome-shell: add missing python3 deps for gnome-shell-extension-tool
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/gnome-3/3.18/core/gnome-shell/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/desktops/gnome-3/3.18/core/gnome-shell/default.nix b/pkgs/desktops/gnome-3/3.18/core/gnome-shell/default.nix
index 11d78cd61328..2c9e54a229b3 100644
--- a/pkgs/desktops/gnome-3/3.18/core/gnome-shell/default.nix
+++ b/pkgs/desktops/gnome-3/3.18/core/gnome-shell/default.nix
@@ -1,9 +1,10 @@
 { fetchurl, stdenv, pkgconfig, gnome3, json_glib, libcroco, intltool, libsecret
-, python3, libsoup, polkit, clutter, networkmanager, docbook_xsl, docbook_xsl_ns, at_spi2_core
-, libstartup_notification, telepathy_glib, telepathy_logger, libXtst, p11_kit, unzip
-, sqlite, libgweather, libcanberra_gtk3
-, libpulseaudio, libical, libtool, nss, gobjectIntrospection, gstreamer, makeWrapper
-, accountsservice, gdk_pixbuf, gdm, upower, ibus, networkmanagerapplet, librsvg }:
+, python3, python3Packages, libsoup, polkit, clutter, networkmanager
+, docbook_xsl , docbook_xsl_ns, at_spi2_core, libstartup_notification
+, telepathy_glib, telepathy_logger, libXtst, p11_kit, unzip, sqlite, libgweather
+, libcanberra_gtk3 , libpulseaudio, libical, libtool, nss, gobjectIntrospection
+, gstreamer, makeWrapper , accountsservice, gdk_pixbuf, gdm, upower, ibus
+, networkmanagerapplet, librsvg }:
 
 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.10.2.1.ebuild?revision=1.3&view=markup
 
@@ -15,7 +16,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = with gnome3;
     [ gsettings_desktop_schemas gnome_keyring gnome-menus glib gcr json_glib accountsservice
-      libcroco intltool libsecret pkgconfig python3 libsoup polkit libcanberra gdk_pixbuf librsvg
+      libcroco intltool libsecret pkgconfig python3 python3Packages.pygobject3
+      libsoup polkit libcanberra gdk_pixbuf librsvg
       clutter networkmanager libstartup_notification telepathy_glib docbook_xsl docbook_xsl_ns
       libXtst p11_kit networkmanagerapplet gjs mutter libpulseaudio caribou evolution_data_server
       libical libtool nss gobjectIntrospection gtk gstreamer makeWrapper gdm
@@ -40,6 +42,9 @@ stdenv.mkDerivation rec {
       --prefix XDG_DATA_DIRS : "${gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS" \
       --suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
 
+    wrapProgram "$out/bin/gnome-shell-extension-tool" \
+      --prefix PYTHONPATH : "${python3Packages.pygobject3}/lib/python3.4/site-packages:$PYTHONPATH"
+
     wrapProgram "$out/libexec/gnome-shell-calendar-server" \
       --prefix XDG_DATA_DIRS : "${evolution_data_server}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"