mirror of
https://github.com/typeable/nixpkgs.git
synced 2024-09-11 11:57:32 +03:00
qutebrowser: fix userscripts directory path
(cherry picked from commit 17c2ca9084
)
This commit is contained in:
parent
3ec9e6968f
commit
246be6cf64
@ -77,7 +77,7 @@ in mkDerivationWith python3Packages.buildPythonApplication rec {
|
||||
postPatch = ''
|
||||
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 ''
|
||||
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user