From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: simplest package definition? Date: Thu, 25 Aug 2016 11:03:22 +0200 Message-ID: References: <87fuptslku.fsf@hecubus.retroj.net> <87fuptb6qc.fsf@gmail.com> <87bn0hb57l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcqZJ-0005L9-Hq for help-guix@gnu.org; Thu, 25 Aug 2016 05:03:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcqZH-00027G-MI for help-guix@gnu.org; Thu, 25 Aug 2016 05:03:24 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:33302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcqZH-00027C-HA for help-guix@gnu.org; Thu, 25 Aug 2016 05:03:23 -0400 Received: by mail-qk0-x22d.google.com with SMTP id z190so39655161qkc.0 for ; Thu, 25 Aug 2016 02:03:23 -0700 (PDT) In-Reply-To: <87bn0hb57l.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Alex Kost Cc: help-guix , John J Foerch > 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