all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: Alex Kost <alezost@gmail.com>
Cc: help-guix <help-guix@gnu.org>, John J Foerch <jjfoerch@earthlink.net>
Subject: Re: simplest package definition?
Date: Thu, 25 Aug 2016 11:03:22 +0200	[thread overview]
Message-ID: <CAEwRq=pMuYdVbNJsm-EjRqu1KDpxrq7A_45e7otQuY6NxrsFwQ@mail.gmail.com> (raw)
In-Reply-To: <87bn0hb57l.fsf@gmail.com>

> I've found how to patch shebang staying inside trivial-build-system.
> There is 'patch-shebang' procedure in (guix build utils) module, so all
> is needed is to call it with the proper path (containing bash or another
> shell you use).  So the following lines should be added:

I think you can also use "which" to find bash if you don't want to add
it to your inputs.

(let ((sh (which "sh"))) ...)

But I don't know which solution is better...

-- 
Vincent Legoll

  reply	other threads:[~2016-08-25  9:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  1:07 simplest package definition? John J Foerch
2016-08-25  8:19 ` Alex Kost
2016-08-25  8:52   ` Alex Kost
2016-08-25  9:03     ` Vincent Legoll [this message]
2016-08-25 13:42     ` John J Foerch

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='CAEwRq=pMuYdVbNJsm-EjRqu1KDpxrq7A_45e7otQuY6NxrsFwQ@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=alezost@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=jjfoerch@earthlink.net \
    /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.