From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iNfTCFaGiGRuUwAASxT56A (envelope-from ) for ; Tue, 13 Jun 2023 17:08:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qBrBCFaGiGRGKAAA9RJhRA (envelope-from ) for ; Tue, 13 Jun 2023 17:08:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5FF031425F for ; Tue, 13 Jun 2023 17:08:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q95cA-0003I1-Pl; Tue, 13 Jun 2023 11:07:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q95br-00037I-TY for help-guix@gnu.org; Tue, 13 Jun 2023 11:07:06 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q95bp-0000pb-P7 for help-guix@gnu.org; Tue, 13 Jun 2023 11:07:03 -0400 X-GND-Sasl: jordila@librebits.info DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librebits.info; s=gm1; t=1686668815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m9ww59utpajOoSmuh8syRIaqOiioLi6H282iQR4VE0I=; b=DTLbuPMbCzcG2NVCl4f3u+1GcAzDpemiT3EjCxa6n+QS16HRF6UQp2ZW+gJfK6NbEXW5Wf 93aYI5MPYhut2zEd43UPZS7HblRT0qRxKwqnghqaSjviP76XpNTuIXRfPcEU/ddXhtT140 vOrJslRSYCGsiXffii2HkM1aPJG/Ci2A5IiySJxxNVeBbpnvRP/6BFmBEWuiuY01NWN10R 1Hs0fe7h6dBRl2kCAhlU9ekZ69BP/NMjCqdihnAG0je33imKmQDTFiGlZRG376HyipbdJg KgO2BkQyAkTwEPEYSaHTD552X8iv5hNy0MAq+C5e76LoRG3TywmZmnO6jUHBLg== Received: by mail.gandi.net (Postfix) with ESMTPSA id 89B2EE000A for ; Tue, 13 Jun 2023 15:06:55 +0000 (UTC) Message-ID: Date: Tue, 13 Jun 2023 17:06:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Guix home - 'pinning' ? Content-Language: en-US To: help-guix@gnu.org References: <2daa-64864600-75-1eca40e0@207435426> <87ttvczlv3.fsf@robbyzambito.me> From: Fenix Lopez In-Reply-To: <87ttvczlv3.fsf@robbyzambito.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:4b98:dc4:8::224; envelope-from=jordila@librebits.info; helo=relay4-d.mail.gandi.net X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.098, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686668885; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=m9ww59utpajOoSmuh8syRIaqOiioLi6H282iQR4VE0I=; b=TBoWcbGRtcRYUvW+Fp2yxHDzCsDqWYLuAXaZ6wD706vzWJduOB23V45CQk4aND8a1ue+6p xOPtDV3D1xlP0iChG9mmk8JWv0V8USKOSYSkZG977xcRauui7tJmJjVVTE8pLRLlkhnQKc HRqHfBPbFxBOvp06DDWJkB1YZ0qpBMhTDBFWMwS0StOcV881DBzyuFRlcet8574MV5Oqyx 1SS+eQQXLK3pSl8OPczpsXwx+2LL9U5MZ+iIPpye/ZE7uwdSVSNZesw/GKbBCUX9IqMFq7 RBRjlCsKcDtduEhTlfnmR48eCMpGDy96/nZHT7vsHLnI4RcAV1V+eutHMoMeCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=librebits.info header.s=gm1 header.b=DTLbuPMb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686668885; a=rsa-sha256; cv=none; b=OW8qTE4PMSBODn0FB1TnVo8+tWELuP+UR9T4ptElhIKTOnxYFAoeVpvR4hHDTivl91qaho jH6f9XsABhGVTSig7SJ3uSI7HJ0rdSP++4A6oXDTo1MXrTmoAAWzxPUqGirYatk7zgJlmL 9dkCQmFD0ixMaIqtEk2qg2EON93GD7Y078ao93nim0ggi7ynC6w9nex9TFx5B4/KMMJ+hN UIHL1Um+k3YhZLcjpWMgUk19eNKoGlN/qSPVuXCShf/6QOWFy1GCc7dqVNtVuryiFW8NT8 UFQ1/qkdqCuH9N5NSGmRySDKDdshQwScdIHLE0Ou7aifiowqDhcAlnnnSpQ/4Q== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=librebits.info header.s=gm1 header.b=DTLbuPMb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5FF031425F X-Spam-Score: -2.82 X-TUID: k0R2LYQt/MHp Hi !   Thanks for the clarifiction, Robby. In order to give some more context , may i add the fact that the package in question is not being compiled/derived when entering the build phase ? In consquence, the whole 'guix home reconfigure' gets stopped... That's the underlaying reason why i was wondering how to pin that 'offending' package.    Umh... leaving package version 'pinning' aside, umh...   Is there another way to prevent such described scenario ? how to get ' guix home reconfigure' finish the whole process regardless the issue described ? thanks, thanks , thnaks for your attention F On 12/6/23 18:16, Robby Zambito wrote: > Hi, > >> when using guix-home, is there a way to pin a given package to its >> current version, so that it stays as it is despite 'guix pull' >> bringing new commits ? > In your (home-environment (packages ...)) list, you should specify the > package that has the correct version that you want. There are two ways > to do this. You can either create an inferior channel, and specify the > package by looking it up in that channel, or you can apply a > transformation to the package to specify the version. > > Using an inferior package will pull the package from a previous version > of Guix - including all of its package inputs. This will pin all of the > transitive dependencies of the package as well. See: info guix Inferiors > for information on how to define an inferior, and how to select a > package from that inferior. > > If you want to pin a package to a specific commit, version, branch, etc > of that package, you can use transformations. See: info guix "Defining > Package Variants" for how to use options->transformation, and info guix > "Package Transformation Options" for the available options you can set. > > Hope this helps :) > > Robby