From 17c2ca9084aa4648d31c2de6558921b408aabb00 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 13 Apr 2022 09:49:42 +0200 Subject: [PATCH] qutebrowser: fix userscripts directory path --- pkgs/applications/networking/browsers/qutebrowser/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix index 6d919ce520f5..580cf6978d87 100644 --- a/pkgs/applications/networking/browsers/qutebrowser/default.nix +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -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 '';