From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: Re: Why are these derivations different? Date: Mon, 10 Jun 2019 13:25:38 -0400 (EDT) Message-ID: References: <878sub7qng.fsf@devup.no> <878su9fzac.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54516) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haO3C-0006Cl-Fn for help-guix@gnu.org; Mon, 10 Jun 2019 13:25:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haO3B-0000LE-Hr for help-guix@gnu.org; Mon, 10 Jun 2019 13:25:42 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:54658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1haO3B-0000KT-EJ for help-guix@gnu.org; Mon, 10 Jun 2019 13:25:41 -0400 In-Reply-To: <878su9fzac.fsf@devup.no> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marius Bakke Cc: help-guix@gnu.org On Mon, 10 Jun 2019, Marius Bakke wrote: >> What's really going on with --no-grafts. Is it that guix on my less >> powerful host has never seen the the ungoogled-chromium version build >> against the older dependencies, so doesn't accept the older version that >> could be grafted? I guess, I'm not sure exactly what you mean by "fails to >> realize the grafted derivation". Is that a bug? > > Sorry, just a lazy and poor attempt at explaining what's going on... :-) No worries, I appreciate you taking the time to help me understand. >> Sorry, I don't think that question was very clear. It probably means that >> while I think I know what grafts are, I don't know enough about what's >> going on to ask the question properly. I think this all could be summarized >> as, "please explain more." > > Grafts are are ignored in some parts of Guix. In this case, if you > inspect the profile derivation when doing 'guix install -n > ungoogled-chromium', you can see that the computed profile.drv needs to > produce the ungrafted ungoogled-chromium-x.y.z.drv, because the > profile-builder references the _ungrafted_ package. > > I'm not sure of the exact mechanics that follow, but I guess grafts are > only computed afterwards, recursively, for the generated profile. Ok, thank help. Thank you. Jack