gnu: qutebrowser: Fix indentation.

* gnu/packages/web-browsers.scm (qutebrowser): Fix indentation.
This commit is contained in:
Maxim Cournoyer 2022-08-01 09:15:40 -04:00
parent aea756ea33
commit c454cf6343
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -479,7 +479,7 @@ interface.")
(base32 "1g7dfrnjgifvbmz1523iq9qxhrsciajr8dv3pak6dlacm235i276")))) (base32 "1g7dfrnjgifvbmz1523iq9qxhrsciajr8dv3pak6dlacm235i276"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
(list python-attrs)) ; for tests (list python-attrs)) ; for tests
(inputs (inputs
(list bash-minimal (list bash-minimal
python-colorama python-colorama
@ -506,9 +506,9 @@ interface.")
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(substitute* "qutebrowser/commands/userscripts.py" (substitute* "qutebrowser/commands/userscripts.py"
(("os.path.join.*system=True)") (("os.path.join.*system=True)")
(string-append "os.path.join(\"" (string-append "os.path.join(\""
(assoc-ref outputs "out") (assoc-ref outputs "out")
"\", \"share\", \"qutebrowser\""))))) "\", \"share\", \"qutebrowser\"")))))
(add-before 'check 'set-env-offscreen (add-before 'check 'set-env-offscreen
(lambda _ (lambda _
(setenv "QT_QPA_PLATFORM" "offscreen"))) (setenv "QT_QPA_PLATFORM" "offscreen")))
@ -530,14 +530,14 @@ interface.")
"/site-packages:" "/site-packages:"
(getenv "GUIX_PYTHONPATH")))) (getenv "GUIX_PYTHONPATH"))))
(for-each (for-each
(lambda (file) (lambda (file)
(wrap-program file (wrap-program file
`("GUIX_PYTHONPATH" ":" prefix (,path)))) `("GUIX_PYTHONPATH" ":" prefix (,path))))
(append (append
(find-files (find-files
(string-append out "/share/qutebrowser/scripts") "\\.py$") (string-append out "/share/qutebrowser/scripts") "\\.py$")
(find-files (find-files
(string-append out "/share/qutebrowser/userscripts"))))))) (string-append out "/share/qutebrowser/userscripts")))))))
(add-after 'wrap 'wrap-qt-process-path (add-after 'wrap 'wrap-qt-process-path
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/qutebrowser") (wrap-program (search-input-file outputs "bin/qutebrowser")