summary refs log tree commit diff
path: root/pkgs/development/libraries/phonon
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-03-06 13:25:12 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2017-03-06 13:25:12 +0100
commit128901e09fd7cdd8f1fd8af2753dba54bf86c0f1 (patch)
tree722c4cf54848ed75c9d6cdc95f2201778de4039b /pkgs/development/libraries/phonon
parentce355bdafa2a7d6c42df006a464b96de219e7e36 (diff)
downloadnixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar.gz
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar.bz2
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar.lz
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar.xz
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.tar.zst
nixpkgs-128901e09fd7cdd8f1fd8af2753dba54bf86c0f1.zip
phonon-backend-gstreamer: don't create $out/$out/share/icons
The build system tries to update the mtime of the icons directory if
`DESTDIR` is unset. That code has bug though that does not deal well
with absolute `CMAKE_SHARE_PREFIX` resulting a double prefix bug.

Setting `DESTDIR=/` (should be a no-op) fixes this.
Diffstat (limited to 'pkgs/development/libraries/phonon')
-rw-r--r--pkgs/development/libraries/phonon/backends/gstreamer.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/phonon/backends/gstreamer.nix b/pkgs/development/libraries/phonon/backends/gstreamer.nix
index 56d40f81833..d8358757094 100644
--- a/pkgs/development/libraries/phonon/backends/gstreamer.nix
+++ b/pkgs/development/libraries/phonon/backends/gstreamer.nix
@@ -38,6 +38,10 @@ stdenv.mkDerivation rec {
     "-I${gst_all_1.gstreamer.dev}/lib/gstreamer-1.0/include"
   ];
 
+  # cleanup: the build system creates (empty) $out/$out/share/icons (double prefix)
+  # if DESTDIR is unset
+  DESTDIR="/";
+
   nativeBuildInputs = [ cmake pkgconfig ] ++ optional withQt5 extra-cmake-modules;
 
   cmakeFlags =