From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28157: =?UTF-8?Q?=E2=80=9Cr-minimal=E2=80=9D?= retains no reference to =?UTF-8?Q?=E2=80=9Cwhich=E2=80=9D?= Date: Tue, 22 Aug 2017 10:51:18 +0200 Message-ID: <877exwc7eh.fsf@gnu.org> References: <87valiwkt9.fsf@elephly.net> 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]:48564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dk4ut-00051j-1c for bug-guix@gnu.org; Tue, 22 Aug 2017 04:52:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dk4uo-00009s-58 for bug-guix@gnu.org; Tue, 22 Aug 2017 04:52:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dk4uo-00009i-2Q for bug-guix@gnu.org; Tue, 22 Aug 2017 04:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dk4un-0003p4-T9 for bug-guix@gnu.org; Tue, 22 Aug 2017 04:52:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87valiwkt9.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 20 Aug 2017 13:16:50 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 28157@debbugs.gnu.org Ricardo Wurmus skribis: > R provides a function =E2=80=9CSys.which=E2=80=9D, which embeds the full = path to =E2=80=9Cwhich=E2=80=9D > at configure time. The path it embeds is that of =E2=80=9Cwhich=E2=80=9D= *before* > grafts. Where=E2=80=99s that reference? I couldn=E2=80=99t find it: --8<---------------cut here---------------start------------->8--- $ guix build r-minimal [...] @ build-succeeded /gnu/store/xz3jhg34z1znlzkz45pva2x0ik96w3qh-r-minimal-3.4= .0.drv - /gnu/store/jzfg7j6wbp28z5zfdh16wyhkqy3azm2z-r-minimal-3.4.0 $ guix gc --references /gnu/store/jzfg7j6wbp28z5zfdh16wyhkqy3azm2z-r-minima= l-3.4.0|grep which $ guix build r-minimal --no-grafts /gnu/store/9xmz92jgmgalf4i07fdiddn658zlccpw-r-minimal-3.4.0 $ guix gc --references /gnu/store/9xmz92jgmgalf4i07fdiddn658zlccpw-r-minima= l-3.4.0 |grep which $ guix build which /gnu/store/xaiq6waavhfrfhxjb35whzc6y4617nzz-which-2.21 $ grep -r -e -which-2.21 /gnu/store/9xmz92jgmgalf4i07fdiddn658zlccpw-r-mini= mal-3.4.0 $ grep -r which-2.21 /gnu/store/9xmz92jgmgalf4i07fdiddn658zlccpw-r-minimal-= 3.4.0 $ grep -r bin/which /gnu/store/9xmz92jgmgalf4i07fdiddn658zlccpw-r-minimal-3= .4.0 --8<---------------cut here---------------end--------------->8--- Normally the grafting code replaces all the store references, unless the reference is somehow obfuscated (which would be surprising here.) Ludo=E2=80=99.