From: Brice Waegeneire <brice@waegenei.re>
To: Leo Famulari <leo@famulari.name>
Cc: 41192@debbugs.gnu.org
Subject: [bug#41192] [PATCH 2/2] gnu: wireguard-tools: Fix wg-quick.
Date: Tue, 12 May 2020 20:57:55 +0000 [thread overview]
Message-ID: <4a36f3e98940666676235563088a18ff@waegenei.re> (raw)
In-Reply-To: <20200511195834.GB15862@jasmine.lan>
On 2020-05-11 19:58, Leo Famulari wrote:
> On Mon, May 11, 2020 at 08:53:10PM +0200, Brice Waegeneire wrote:
>> + (add-after 'install 'install-contrib
>
> How about calling this phase "install-docs" or "install-contrib-docs"?.
This is a more informative name, renamed.
>> + (wrap-program (string-append out "/bin/wg-quick")
>> + `("PATH" ":" = ,(append inputs-sbin
>> + (list coreutils
>> +
>> "/run/setuid-programs"))))
>> + #t))))))
>
> Setuid Guix only exists on Guix System, so we should drop this wrapper.
> It's okay to make users do `sudo wg-quick` or similar.
Replaced '=' with 'prefix' and dropped "/run/setuid-programs" from the
wrapper.
>> + (native-inputs
>> + `(("bash" ,bash))) ; for contrib scripts using /dev/tcp
>> + (inputs
>> + `(("resolvconf" ,openresolv)
>> + ("coreutils" ,coreutils)
>
> Is coreutils not already available in the build environment?
>
>> + ("bash" ,bash) ; for contrib scripts using
>> /dev/tcp
>
> IIUC, we don't need to include Bash in both 'native-inputs' and
> 'inputs'. If this Bash will be used at run-time (e.g. as a script
> shebang), we should just use 'inputs'.
Only kept in inputs.
next prev parent reply other threads:[~2020-05-12 20:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 18:43 [bug#41192] [PATCH 0/2] wireguard-tools: Fix wg-quick Brice Waegeneire
2020-05-11 18:53 ` [bug#41192] [PATCH 1/2] gnu: Add openresolv Brice Waegeneire
2020-05-11 19:52 ` Leo Famulari
2020-05-12 20:34 ` Brice Waegeneire
2020-05-11 18:53 ` [bug#41192] [PATCH 2/2] gnu: wireguard-tools: Fix wg-quick Brice Waegeneire
2020-05-11 19:58 ` Leo Famulari
2020-05-12 20:57 ` Brice Waegeneire [this message]
2020-05-12 21:01 ` [bug#41192] [PATCH v2 0/2] " Brice Waegeneire
2020-05-12 21:01 ` [bug#41192] [PATCH v2 1/2] gnu: Add openresolv Brice Waegeneire
2020-05-12 21:01 ` [bug#41192] [PATCH v2 2/2] gnu: wireguard-tools: Fix wg-quick Brice Waegeneire
2020-05-12 21:28 ` [bug#41192] [PATCH v2 0/2] " Leo Famulari
2020-05-13 9:28 ` bug#41192: " Brice Waegeneire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a36f3e98940666676235563088a18ff@waegenei.re \
--to=brice@waegenei.re \
--cc=41192@debbugs.gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).