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:
Florian Bruhin 2018-09-11 20:33:25 +02:00 committed by GitHub
parent 7df273e71d
commit 84a0dc8191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
'';