calibre: fix RPATH problems
It took quite some discussions to find a good solution: close #26201, close #26209. (Authorship assigned to the author of the idea.)
This commit is contained in:
parent
2e08839cbe
commit
e6550cb5c1
@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
export HOME=$TMPDIR/fakehome
|
export HOME=$TMPDIR/fakehome
|
||||||
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
|
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
|
||||||
export POPPLER_LIB_DIR=${poppler_utils.out}/lib
|
export POPPLER_LIB_DIR=${poppler_utils.out}/lib
|
||||||
@ -92,6 +94,8 @@ stdenv.mkDerivation rec {
|
|||||||
for entry in $out/share/applications/*.desktop; do
|
for entry in $out/share/applications/*.desktop; do
|
||||||
substituteAllInPlace $entry
|
substituteAllInPlace $entry
|
||||||
done
|
done
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
calibreDesktopItem = makeDesktopItem {
|
calibreDesktopItem = makeDesktopItem {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user