Skip to content

Commit

Permalink
Fixup calibre RPATH stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorman committed May 29, 2017
1 parent a78af51 commit 79a7a8f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ stdenv.mkDerivation rec {
chardet cherrypy html5lib_0_9999999 odfpy routes
]);

# Before we do various fixups, remove qt tree---this means the
# standard RPATH shrinking code will remove the references. Should
# be obsoleted when NixOS/patchelf#98 is released.
preFixup = ''
rm -rf $(pwd)/../__nix_qt5__
'';

installPhase = ''
export HOME=$TMPDIR/fakehome
export POPPLER_INC_DIR=${poppler_utils.dev}/include/poppler
Expand Down

0 comments on commit 79a7a8f

Please sign in to comment.