diff --git a/pkgs/development/libraries/ffmpegthumbnailer/default.nix b/pkgs/development/libraries/ffmpegthumbnailer/default.nix index 10e9b70d42ed..ff1a8615ab79 100644 --- a/pkgs/development/libraries/ffmpegthumbnailer/default.nix +++ b/pkgs/development/libraries/ffmpegthumbnailer/default.nix @@ -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