From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#30265: Fish shell has wrong path variables Date: Fri, 21 Sep 2018 16:46:21 +0200 Message-ID: <87y3buucw2.fsf@elephly.net> References: <87pnx9yhsx.fsf@ambrevar.xyz> <87o9ctdxxk.fsf@gnu.org> <87efdoxia5.fsf@ambrevar.xyz> <877ejf2gyp.fsf@gnu.org> <877ejeykro.fsf@ambrevar.xyz> 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]:42180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3Mi1-0004aD-Eq for bug-guix@gnu.org; Fri, 21 Sep 2018 10:47:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3Mhy-0006hO-5t for bug-guix@gnu.org; Fri, 21 Sep 2018 10:47:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3Mhy-0006hH-0e for bug-guix@gnu.org; Fri, 21 Sep 2018 10:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3Mhx-0002BO-U8 for bug-guix@gnu.org; Fri, 21 Sep 2018 10:47:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <877ejeykro.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: meiyo.peng@gmail.com, 30265@debbugs.gnu.org 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