guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: passff-host: Fix builder issues.


From: guix-commits
Subject: branch master updated: gnu: passff-host: Fix builder issues.
Date: Sun, 29 Oct 2023 10:47:28 -0400

This is an automated email from the git hooks/post-receive script.

snape pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 26565f1bc8 gnu: passff-host: Fix builder issues.
26565f1bc8 is described below

commit 26565f1bc8548011bc0e1b821a9a957db1bc2d8f
Author: Clément Lassieur <clement@lassieur.org>
AuthorDate: Sun Oct 29 15:14:30 2023 +0100

    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
---
 gnu/packages/browser-extensions.scm | 7 ++++---
 1 file 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]