summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2018-05-07 14:04:15 +0200
committerPatrick Hilhorst <git@hilhorst.be>2018-05-07 14:04:15 +0200
commitfcb6a0a56ed34d43aa234eb1f3b717c3e24b695b (patch)
tree1d016b7e91ee904de97c84fe8f997fcc1bba295e /pkgs/applications/audio
parentce0be6a72516bde240e7eb6686104c0f9d6e948b (diff)
downloadnixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar.gz
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar.bz2
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar.lz
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar.xz
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.tar.zst
nixlib-fcb6a0a56ed34d43aa234eb1f3b717c3e24b695b.zip
spotify: remove/update gnome2 references
Part of #39976
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/spotify/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index 1a4f2bdd1b5b..fefab263065f 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -1,6 +1,8 @@
 { fetchurl, stdenv, dpkg, xorg, alsaLib, makeWrapper, openssl, freetype
-, glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng, GConf
-, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome2 }:
+, glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng
+, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_0_10, curl, zlib, gnome3 }:
+
+assert stdenv.system == "x86_64-linux";
 
 let
   # Please update the stable branch!
@@ -20,7 +22,6 @@ let
     ffmpeg_0_10
     fontconfig
     freetype
-    GConf
     gdk_pixbuf
     glib
     gtk2
@@ -93,7 +94,7 @@ stdenv.mkDerivation {
       librarypath="${stdenv.lib.makeLibraryPath deps}:$libdir"
       wrapProgram $out/share/spotify/spotify \
         --prefix LD_LIBRARY_PATH : "$librarypath" \
-        --prefix PATH : "${gnome2.zenity}/bin"
+        --prefix PATH : "${gnome3.zenity}/bin"
 
       # Desktop file
       mkdir -p "$out/share/applications/"