Skip to content

Commit e6550cb

Browse files
layusvcunat
authored andcommittedJun 5, 2017
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.)
1 parent 2e08839 commit e6550cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎pkgs/applications/misc/calibre/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
6262
]);
6363

6464
installPhase = ''
65+
runHook preInstall
66+
6567
export HOME=$TMPDIR/fakehome
6668
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
6769
export POPPLER_LIB_DIR=${poppler_utils.out}/lib
@@ -92,6 +94,8 @@ stdenv.mkDerivation rec {
9294
for entry in $out/share/applications/*.desktop; do
9395
substituteAllInPlace $entry
9496
done
97+
98+
runHook postInstall
9599
'';
96100

97101
calibreDesktopItem = makeDesktopItem {

0 commit comments

Comments
 (0)