gnu: passff-host: Refactor builder.

* gnu/packages/browser-extensions.scm (passff-host)[arguments]: Refactor
builder.

Change-Id: I42cb5e6b4808a8b2025d20654c57392f79c01a5c
This commit is contained in:
Clément Lassieur 2023-10-28 16:12:16 +02:00
parent c3cf04d05b
commit 0525a39c21
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7

View File

@ -174,13 +174,12 @@ ungoogled-chromium.")
#:builder
#~(begin
(use-modules (guix build utils))
(setenv "PATH" (string-join
(list #$(file-append coreutils "/bin")
#$(file-append grep "/bin")
#$(file-append password-store "/bin")
#$(file-append python "/bin")
#$(file-append sed "/bin")
#$(file-append which "/bin")) ":"))
(setenv "PATH" (string-join '(#$coreutils
#$grep
#$password-store
#$python
#$sed
#$which) "/bin:" 'suffix))
(copy-recursively #$source ".")
(substitute* "src/install_host_app.sh"
(("#!/usr/bin/env sh") #$(file-append bash-minimal "/bin/sh"))