diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2017-03-06 13:25:12 +0100 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2017-03-06 13:25:12 +0100 |
commit | 128901e09fd7cdd8f1fd8af2753dba54bf86c0f1 (patch) | |
tree | 722c4cf54848ed75c9d6cdc95f2201778de4039b /pkgs/development/libraries | |
parent | ce355bdafa2a7d6c42df006a464b96de219e7e36 (diff) |
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')
-rw-r--r-- | pkgs/development/libraries/phonon/backends/gstreamer.nix | 4 |
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 56d40f8183384..d8358757094df 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 = |