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.)
wip/yesman
Guillaume Maudoux 7 years ago committed by Vladimír Čunát
parent 2e08839cbe
commit e6550cb5c1
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 4
      pkgs/applications/misc/calibre/default.nix

@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
]);
installPhase = ''
runHook preInstall
export HOME=$TMPDIR/fakehome
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
export POPPLER_LIB_DIR=${poppler_utils.out}/lib
@ -92,6 +94,8 @@ stdenv.mkDerivation rec {
for entry in $out/share/applications/*.desktop; do
substituteAllInPlace $entry
done
runHook postInstall
'';
calibreDesktopItem = makeDesktopItem {

Loading…
Cancel
Save