calibre: fix build
This commit is contained in:
parent
83e1d3aa66
commit
514e62d028
@ -49,8 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
qtWrapperArgs = [
|
qtWrapperArgs = [
|
||||||
"--prefix PYTHONPATH: $PYTHONPATH"
|
"--prefix PATH : ${poppler_utils.out}/bin"
|
||||||
"--prefix PATH: ${poppler_utils.out}/bin}"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -76,7 +75,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i "2i import sys; sys.argv[0] = 'calibre'" $out/bin/calibre
|
sed -i "2i import sys; sys.argv[0] = 'calibre'" $out/bin/calibre
|
||||||
|
|
||||||
for program in $out/bin/*; do
|
for program in $out/bin/*; do
|
||||||
wrapQtApp $program
|
wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
|
||||||
done
|
done
|
||||||
|
|
||||||
# Replace @out@ by the output path.
|
# Replace @out@ by the output path.
|
||||||
|
Loading…
Reference in New Issue
Block a user