Commit 8dcc6f23 authored by David's avatar David Committed by David
Browse files

ffmpegthumbnailer: Make thumbnailer file point to absolute path

Allows use with nautilus(bubblewrap) even if installed in home.packages
parent 53cce2ff
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ stdenv.mkDerivation rec {
      --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
  '';

  postInstall = ''
    substituteInPlace $out/share/thumbnailers/ffmpegthumbnailer.thumbnailer \
      --replace-fail '=ffmpegthumbnailer' "=$out/bin/ffmpegthumbnailer"
  '';

  meta = with lib; {
    description = "Lightweight video thumbnailer";
    longDescription = "FFmpegthumbnailer is a lightweight video