From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Removing a store reference from a file Date: Thu, 26 Oct 2017 17:43:56 -0700 Message-ID: <87inf1besz.fsf@gnu.org> References: <20171026150443.GA17580@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7sko-0006E7-4G for guix-devel@gnu.org; Thu, 26 Oct 2017 20:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7skl-0002rb-0c for guix-devel@gnu.org; Thu, 26 Oct 2017 20:44:06 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:35540) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7skk-0002qd-Oh for guix-devel@gnu.org; Thu, 26 Oct 2017 20:44:02 -0400 In-Reply-To: <20171026150443.GA17580@jasmine.lan> (Leo Famulari's message of "Thu, 26 Oct 2017 11:04:43 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Hi! Leo Famulari skribis: > The programs don't need or use this reference, so it would be nice to > get rid of it and save users some bandwidth when installing Go programs. [...] > I see that in Guix we have ((guix build utils) remove-store-references), > which removes *all* store references from a file, but using it here > leaves the Go executable unable to even start execution. I think it > needs libc's linker: It surely does. :-) What about adjusting =E2=80=98remove-store-references=E2=80=99 to create a =E2=80=98remove-store-reference=E2=80=99 (singular) procedure in (guix build go-build-system)? That should be doable. HTH, Ludo=E2=80=99.