mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
qutebrowser: Fix patching of standarddir.py
The original patch was broken since a85e19a5e1
because an `APPNAME` variable was introduced there.
This commit is contained in:
parent
7df273e71d
commit
84a0dc8191
@ -58,7 +58,7 @@ in python3Packages.buildPythonApplication rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "s,/usr/share/qutebrowser,$out/share/qutebrowser,g" qutebrowser/utils/standarddir.py
|
sed -i "s,/usr/share/,$out/share/,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 New Issue
Block a user