[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simplest package definition?
From: |
Vincent Legoll |
Subject: |
Re: simplest package definition? |
Date: |
Thu, 25 Aug 2016 11:03:22 +0200 |
> 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