mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
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 = ''
|
||||
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…
Reference in New Issue
Block a user