From: Andy Tai <atai@atai.org>
To: guix-devel@gnu.org
Subject: /bin/sh in package definitions
Date: Fri, 13 Jan 2023 15:40:57 -0800 [thread overview]
Message-ID: <CAJsg1E9AOV0MXKoyga5EApDMHd9uQ0uquMGF+JfLFqacjX6NAg@mail.gmail.com> (raw)
Hi, currently package definitions often need to patch references to
/bin/sh as common in package sources or makefiles to make it refer to
the actual bash shell used in Guix in /gnu/store/... somewhere.
question 1: is there a way, to simulate /bin/sh using container or
some such set up so the actual shell used by Guix can appear as
/bin/sh in the package build process? (sorry if this is a wild
question)
question 2: (if question 1 is not possible) in guile, how to replace
only occurrences of /bin/sh, not substring "/bin/sh" in some strings
like /usr/bin/shsomethingsomethng, in the "patch" stage of package
building?
next reply other threads:[~2023-01-13 23:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 23:40 Andy Tai [this message]
2023-01-15 7:41 ` /bin/sh in package definitions Liliana Marie Prikler
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=CAJsg1E9AOV0MXKoyga5EApDMHd9uQ0uquMGF+JfLFqacjX6NAg@mail.gmail.com \
--to=atai@atai.org \
--cc=guix-devel@gnu.org \
/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.