Skip to content

Commit

Permalink
phonon-backend-gstreamer: don't create $out/$out/share/icons
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bennofs committed Mar 6, 2017
1 parent ce355bd commit 128901e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/phonon/backends/gstreamer.nix
Expand Up @@ -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 =
Expand Down

0 comments on commit 128901e

Please sign in to comment.