mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +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:
parent
53cce2fff7
commit
8dcc6f23e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user