aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/browser-extensions.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm
index fba81c016d..99dc7de109 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -181,11 +181,12 @@ ungoogled-chromium.")
#$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")