Skip to content

Commit

Permalink
qutebrowser: Fix patching of standarddir.py
Browse files Browse the repository at this point in the history
The original patch was broken since qutebrowser/qutebrowser@a85e19a because an `APPNAME` variable was introduced there.
  • Loading branch information
The-Compiler committed Sep 11, 2018
1 parent 7df273e commit 84a0dc8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -58,7 +58,7 @@ in python3Packages.buildPythonApplication rec {
];

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 ''
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
'';
Expand Down

0 comments on commit 84a0dc8

Please sign in to comment.