From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 21 10:46:55 2018 Received: (at 30265) by debbugs.gnu.org; 21 Sep 2018 14:46:55 +0000 Received: from localhost ([127.0.0.1]:48314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Mhq-0002Az-UO for submit@debbugs.gnu.org; Fri, 21 Sep 2018 10:46:55 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3Mho-0002Aq-Vr for 30265@debbugs.gnu.org; Fri, 21 Sep 2018 10:46:53 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1537541187; cv=none; d=zoho.com; s=zohoarc; b=hufmG0BhkHiqMKUVk7PJEZf2ppGGHbdTjF6IFJEUzf2y2nXVRloVTyAesU+dAY8QnKeE74OWXsfHdUGRZcDtCc1BQwj55tJ+os9tUTevIP+jyatSTTge5Lk2E/lf11PLZoSZcG9+/R21L6JqRpuI9AnRt+GzfYCts+m3naa9/NE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1537541187; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=D8RuWsbOWAZx0E+gvuUGIt77JJC9rd7rf+MP+mzIw+M=; b=Ab3AbWRejzZ5iUJZTAsm4rYRjLr84kyoerL4H+gAXcl3HiFUMjvP/3B/ifxk9mZfkWv6Ccjllyr0VgnynPwFkrJ8oex+nclQm/mDLis/5HJU6Yz74mE6PvvFj2DJtfKn4LP3WuIw0Un5Bire3a4JiVmSJ/TxVsHxemIHJgD4rNo= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1537541187; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1254; bh=D8RuWsbOWAZx0E+gvuUGIt77JJC9rd7rf+MP+mzIw+M=; b=VZoGbcEScq6Nci2zUmjQ2RfoHp8RzgI/wNu68Ra4Zb9/RnHUZrNdEWZnbGPJle6N 8ZHBiL4X8XwVkYhTnzcsx97f6gZxV4C0JJsu09HGSvi92IX3ibhz+CMj9Jphx+y1OXV BQIGXdzE/cyzlT4ZFVuONXHMdG7V9bX6jynYsY8c= Received: from localhost (141.80.247.147 [141.80.247.147]) by mx.zohomail.com with SMTPS id 1537541186381385.00429850868875; Fri, 21 Sep 2018 07:46:26 -0700 (PDT) References: <87pnx9yhsx.fsf@ambrevar.xyz> <87o9ctdxxk.fsf@gnu.org> <87efdoxia5.fsf@ambrevar.xyz> <877ejf2gyp.fsf@gnu.org> <877ejeykro.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Pierre Neidhardt Subject: Re: bug#30265: Fish shell has wrong path variables In-reply-to: <877ejeykro.fsf@ambrevar.xyz> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 21 Sep 2018 16:46:21 +0200 Message-ID: <87y3buucw2.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30265 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , meiyo.peng@gmail.com, 30265@debbugs.gnu.org, Nils Gillmann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pierre Neidhardt writes: >> In practice only a subset of these grafts are applied because, for >> instance, Fish doesn=E2=80=99t depend (directly or indirectly) on Ghosts= cript at >> run time whereas it does depend on Perl: >> >> --8<---------------cut here---------------start------------->8--- >> $ guix gc -R $(guix build fish) | grep -E '(perl|ghostscript)' >> /gnu/store/7ifc22sh86zblnzamqimgmv06idyx69v-perl-5.26.1 >> --8<---------------cut here---------------end--------------->8--- > > Thanks for pointing out this nuance, I wasn't aware of it. > > But I still wonder: why is fish first built to > vgrav12zra9zky21ahm4x1qg8g4v58fj... and then immediately grafted to > avk637800w1n7z1z0hnzx80r0fpd6729... Why not building directly to > avk637800w1n7z1z0hnzx80r0fpd6729...? Grafting is independent of building a package. These are separate derivations. The first derivation is merely about building the package =E2=80=94 it is unaware of the need for grafting. The second derivation only performs the graft. All it knows about is that it takes =E2=80=9Cvgrav12zra9zky21ahm4x1qg8g4v58fj=E2=80=9D as an inpu= t and should produce =E2=80=9Cavk637800w1n7z1z0hnzx80r0fpd6729=E2=80=9D. -- Ricardo