Merge pull request #168456 from rnhmjoj/pr-qute
qutebrowser: fix userscripts directory path
This commit is contained in:
commit
e57971c665
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace qutebrowser/misc/quitter.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
|
substituteInPlace qutebrowser/misc/quitter.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
|
||||||
|
|
||||||
sed -i "s,/usr/share/,$out/share/,g" qutebrowser/utils/standarddir.py
|
sed -i "s,/usr,$out,g" qutebrowser/utils/standarddir.py
|
||||||
'' + lib.optionalString withPdfReader ''
|
'' + lib.optionalString withPdfReader ''
|
||||||
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
|
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue