From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uH6yL1LYvmZLtwAAqHPOHw:P1 (envelope-from ) for ; Fri, 16 Aug 2024 04:40:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uH6yL1LYvmZLtwAAqHPOHw (envelope-from ) for ; Fri, 16 Aug 2024 06:40:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=0H811Fjf; dmarc=pass (policy=none) header.from=landt.email; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723783250; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=oLQS57XyqFLW+nHXTYUqp7xNICjyuIX175thZSTrAwI=; b=sWVjspCS3bPsWTfWZS1mbNwyOPfTvrj2FpgTxDtJt2q5+4MogRCFeoXy02YKio/sxZ+nhH TRA/JG10Xs7GPURkR9OeI1mXXCIyFoHjZYZF3GDsWvdt9v2GsYDIGIPS6Q7qIoERpO1roS mHsMIvO84la0C/IhsnB5jfa6vHr15Qzh0ncZvehkqM0fav9Trp4U2ZbyRTWUzvqcfrqOud z+OtEEXUa7mcByuxpnDe4CghWZSZBvgh3fsPMDsTdj9n2SkU5VtffZP2V0pWtpDF/AHqQ/ cbgdJorEj4b9AlA3n5IgQrb9wb82J2Rw2GdBWlAqM0xtHcdDEmLyweCxXGOGWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723783250; a=rsa-sha256; cv=none; b=k+K7U10DdOmskPI56a1ji6vu9Y1yIV0bHvzKuNi0nz13DnXjStGOzEvns5bGw2QulxEv6K CdKLp87DryzVJiqpzpPEiRHtr3OXI7/s78iulGx/Bx459rug4M89bAvggetXrDUmxMUymv mcRwCV9rnWlY4OEISlsCIFjpVZtgDxaKQdvYYXMCWJE1StabX6DrdN9RINmKGG73eyLZVa KiELno2mbxBpvpJn8FxRehkcnfbnxJKBCfTcCaUsv606LKxxAc1YKNMztx/Qhw11KD1jz5 1AXuneURd+bCE1A5yfRCjVeFCMeMCiXGxBYPSWX+SxY8E1noMnpLopr5G4QsOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=0H811Fjf; dmarc=pass (policy=none) header.from=landt.email; 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" 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 9BF8A639DB for ; Fri, 16 Aug 2024 06:40:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seolH-0005S8-Dk; Fri, 16 Aug 2024 00:40:27 -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 1seolE-0005Rh-RC for help-guix@gnu.org; Fri, 16 Aug 2024 00:40:25 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1seolC-00089U-6e for help-guix@gnu.org; Fri, 16 Aug 2024 00:40:24 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4WlTnD02WJz9sdB; Fri, 16 Aug 2024 06:40:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1723783216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oLQS57XyqFLW+nHXTYUqp7xNICjyuIX175thZSTrAwI=; b=0H811FjfsUiV/9yWlN9wXg34rNfdcvtV/4Fs6ovmZHtiTKvU3CGWJ/JpQHy0xIlARW6WPm ziqwfGrhOEzg+XvoBhOVUfhBrO0UhzOqo9mcas1Hwjtz8nlKeqF4D/18BoaVACXrzJZf2S RhTaRVTp3ZzXxNCSM1uu49NVPvWGx2ffexuBCa5XpnYQMqhAdsS8Xr7ywRJ6sA1KxFbcO0 cXRFiU06ypk6O5o/bOxpVlwBGiw9Eeyv/eWjPNy4bFu96k9t3THOn7FzmgktS1EqqOaB0l RX16umXm+CWl0cgKepCfpXGhu4NETtHl0GkGvorsTxhpQTp92wlZ6MHIMFR3LA== Date: Fri, 16 Aug 2024 06:40:15 +0200 (CEST) From: Nils Landt To: Tomas Volf <~@wolfsden.cz> Cc: help-guix@gnu.org Message-ID: <127693834.445674.1723783215513@office.mailbox.org> In-Reply-To: References: <883867975.432417.1723742092236@office.mailbox.org> Subject: Re: How to use guix-for-channels together with -L without errors? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=80.241.56.171; envelope-from=nils@landt.email; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9BF8A639DB X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.77 X-Spam-Score: -5.77 X-TUID: 3tlaCMTfPZjY > Tomas Volf <~@wolfsden.cz> hat am 15.08.2024 21:46 CEST geschrieben: > > Now I have a different problem however. Given a channel list with commits, > hence resolving to the same code every time, it still gets pulled every time, > and Guix derivation computed every time. Illustrated here: > > /tmp/repro $ cat x.scm > (use-modules (guix channels) > (gnu packages package-management)) > > (guix-for-channels (list (channel > (name 'guix) > (url "https://git.wolfsden.cz/.git/guix") > (commit > "b03eddc326ee4eb26b25743faee2080de6aded7e") > (introduction > (make-channel-introduction > "028e445a2028068e3c83996daa281057f19141a0" > (openpgp-fingerprint > "B783 49B3 8C14 7D36 2988 68A4 2FBF EE7D B67F C1A9")))))) > /tmp/repro $ guix build -f x.scm > Updating channel 'guix' from Git repository at 'https://git.wolfsden.cz/.git/guix'... > Computing Guix derivation for 'x86_64-linux'... | > /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile > /tmp/repro $ guix build -f x.scm > Updating channel 'guix' from Git repository at 'https://git.wolfsden.cz/.git/guix'... > Computing Guix derivation for 'x86_64-linux'... | > /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile > > This does not seem necessary (it uses commit, so it does not change) and makes > re-deploys *much* slower. Would you happen to have magical trick for this as > well? Sorry to disappoint, I don't use Guix system, only Guix home, so no idea :(