papers: Make thumbnailer file point to absolute path
Allows use with nautilus(bubblewrap) even if installed in home.packages
This commit is contained in:
parent
3b5b437bcf
commit
8ce371c484
@ -111,6 +111,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "16"
|
||||
) "-Wno-error=incompatible-function-pointer-types";
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/share/thumbnailers/papers.thumbnailer \
|
||||
--replace-fail '=papers-thumbnailer' "=$out/bin/papers-thumbnailer"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
||||
|
Loading…
Reference in New Issue
Block a user