Subject: Re: [bug#29951] [PATCH] WIP guix: Add wrap-script.

From: Ricardo Wurmus <[email-masked]>
Date: Thu, 02 Aug 2018 10:37:26 +0200

Jelle Licht <[email-masked]> writes:

> 2018-01-02 21:44 GMT+01:00 Ricardo Wurmus <[email-masked]>:
>
>> * guix/build/utils.scm (wrap-script): New procedure.
>> ---
[…]
>>
>> +(define wrap-script
>> +  (let ((interpreter-regex
>> +         (make-regexp
>> +          (string-append "^#! ?(/bin/sh|/gnu/store/[^/]+/bin/("
>>
>
> Won't this be an issue for people using a customized store location?

Yes.  I suppose we could change this to use the actual store prefix.

--
Ricardo