1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

ffmpegthumbnailer: Make thumbnailer file point to absolute path

Allows use with nautilus(bubblewrap) even if installed in home.packages
This commit is contained in:
David 2024-09-09 01:26:07 +02:00 committed by David
parent 53cce2fff7
commit 8dcc6f23e3

View file

@ -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