gnu: passff-host: Fix builder issues.
* gnu/packages/browser-extensions.scm (passff-host)[arguments]: Use `patch-shebang` instead of wrong `substitute*`, add newline after substitution. Change-Id: I6cd1d681e9e84bdeb24943dfe1d85d996f1a262b
This commit is contained in:
parent
1dae566182
commit
26565f1bc8
1 changed files with 4 additions and 3 deletions
|
@ -181,11 +181,12 @@ (define-public passff-host
|
|||
#$sed
|
||||
#$which) "/bin:" 'suffix))
|
||||
(copy-recursively #$source ".")
|
||||
(patch-shebang "src/install_host_app.sh"
|
||||
(list (in-vicinity #$bash-minimal "bin")))
|
||||
(substitute* "src/install_host_app.sh"
|
||||
(("#!/usr/bin/env sh") #$(file-append bash-minimal "/bin/sh"))
|
||||
(("(TARGET_DIR_FIREFOX=).*" all var)
|
||||
(string-append var #$output
|
||||
"/lib/icecat/native-messaging-hosts")))
|
||||
(string-append var #$output "/lib/icecat/native-messaging-hosts"
|
||||
"\n")))
|
||||
(invoke #$(file-append gnu-make "/bin/make")
|
||||
(string-append "VERSION=" #$version) "install-unix"))))
|
||||
(synopsis "Host app for the WebExtension PassFF")
|
||||
|
|
Loading…
Reference in a new issue