From 128901e09fd7cdd8f1fd8af2753dba54bf86c0f1 Mon Sep 17 00:00:00 2001 From: Benno Fünfstück Date: Mon, 6 Mar 2017 13:25:12 +0100 Subject: 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. --- pkgs/development/libraries/phonon/backends/gstreamer.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/development/libraries/phonon') 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 = -- cgit 1.4.1