Skip to content

Commit

Permalink
calibre: fix RPATH problems
Browse files Browse the repository at this point in the history
It took quite some discussions to find a good solution:
close #26201, close #26209.
(Authorship assigned to the author of the idea.)
  • Loading branch information
layus authored and vcunat committed Jun 5, 2017
1 parent 2e08839 commit e6550cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -92,6 +94,8 @@ stdenv.mkDerivation rec {
for entry in $out/share/applications/*.desktop; do
substituteAllInPlace $entry
done
runHook postInstall
'';

calibreDesktopItem = makeDesktopItem {
Expand Down

0 comments on commit e6550cb

Please sign in to comment.