From: "Clément Lassieur" <clement@lassieur.org>
To: Felix Lechner via <help-guix@gnu.org>
Cc: Lars Rustand <rustand.lars@gmail.com>,
Felix Lechner <felix.lechner@lease-up.com>
Subject: Re: Help packaging network-manager-sstp and sstp-client
Date: Sun, 21 Jan 2024 15:50:40 +0100 [thread overview]
Message-ID: <87o7deoi4f.fsf@lassieur.org> (raw)
In-Reply-To: <87sf2qydct.fsf@lease-up.com> (Felix Lechner via's message of "Sun, 21 Jan 2024 06:23:30 -0800")
Hello,
On Sun, Jan 21 2024, Felix Lechner via wrote:
> Hi Lars,
>
> On Fri, Jan 19 2024, Lars Rustand wrote:
>
>> ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or directory
>
> I would use something like this [1]
>
> (arguments
> (list
> #:phases
> #~(modify-phases %standard-phases
> (add-before 'configure 'provide-shell
> (lambda _
> (setenv "CONFIG_SHELL" (which "sh")))))))
> (native-inputs (list bash))
>
> although the (which "sh") is kind of lazy and should probably be
> replaced by something like
>
> #$(file-append bash "/bin/sh")
I don't think (which "sh") is bad, given the occurrences of (which "sh")
and (which "bash") in our code base. (Actually I don't think being lazy
is bad in programming generally speaking.)
Also, I'm not sure it's necessary to specify bash as an input since it's
implicit in gnu-build-system.
See https://guix.gnu.org/manual/en/html_node/Build-Systems.html.
Cheers,
Clément
> Kind regards
> Felix
>
> [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/config_002estatus-Invocation.html
next prev parent reply other threads:[~2024-01-21 14:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 7:26 Help packaging network-manager-sstp and sstp-client Lars Rustand
2024-01-21 7:25 ` Marek Paśnikowski
2024-01-21 14:23 ` Felix Lechner via
2024-01-21 14:40 ` Lars Rustand
2024-01-21 16:03 ` Felix Lechner via
2024-01-21 14:50 ` Clément Lassieur [this message]
2024-01-21 15:37 ` Clément Lassieur
2024-01-21 16:00 ` Felix Lechner via
2024-01-23 7:23 ` Efraim Flashner
2024-01-24 21:34 ` Lars Rustand
2024-01-28 17:42 ` Efraim Flashner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7deoi4f.fsf@lassieur.org \
--to=clement@lassieur.org \
--cc=felix.lechner@lease-up.com \
--cc=help-guix@gnu.org \
--cc=rustand.lars@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.