From unknown Fri Aug 15 20:57:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64856: guix shell cache doesn't consider grafts Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 25 Jul 2023 13:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64856 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64856@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.169029334126686 (code B ref -1); Tue, 25 Jul 2023 13:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jul 2023 13:55:41 +0000 Received: from localhost ([127.0.0.1]:45946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIVp-0006wM-GX for submit@debbugs.gnu.org; Tue, 25 Jul 2023 09:55:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIVn-0006rv-Dw for submit@debbugs.gnu.org; Tue, 25 Jul 2023 09:55:40 -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 1qOIVb-0004ew-Po for bug-guix@gnu.org; Tue, 25 Jul 2023 09:55:28 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOIVa-0003jt-6j for bug-guix@gnu.org; Tue, 25 Jul 2023 09:55:27 -0400 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-76758b855edso292739385a.0 for ; Tue, 25 Jul 2023 06:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690293325; x=1690898125; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xRjpXXc/zj765N0hhEteecfIQXSsqVb2tQZhhD8QiRQ=; b=WeHmw3Quva+kcE1Du43EO6bPlwM97bRRtS4CzrNWqRC5zTLE0N2Hz0I3GKkN7ejjd6 Xg3URJiH8AgluViCc4Ro3ahKDYWQZ+Pww6PA3gzxCPiCuHEDOCOk8TRDEwFZ5WXLI3YH ZXyxJ0q7j2zb5kYrASWrULGa+35jgsD1ZtBfKCGReNUcxqCx8IzNA7NIsHEDBNLcczI+ GIF4vVxzgmjk6URS5Opettl8M3HWQu3ipdIW0ibMewc4HBoy6oVmlVhK+Sxfm4M1HLlJ O2iAW0XIsd74AxlE2cFepLSClhZ8H5DXl6iaABh0R1PfJtgSscAJLK50wvJBiwMtql/2 edtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690293325; x=1690898125; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xRjpXXc/zj765N0hhEteecfIQXSsqVb2tQZhhD8QiRQ=; b=YT/Kp9sbshcTZaoLoXE3PlgLyIlEnUBar6wPOAVzQLsur6y1fPfSGk3bGOMg0eg9t4 X+K6NUFn8G3vI+MKBy/eWHhHPXK5mQ4WWzLRWck1/3II2+fDYseA1TvY3+mSQSp2nqTr yV3rOSwlfuR3VnsUsrVZxd5iWdkTWIPs8UXmtNU2QcsjTH1tgR9Lim1rmbl8bPntDav2 Wn1XpBphsDqaLSyIgNnWqLVD+ivCNXTi8qO+p1aKXMakb8lL53209leUHxmlsbByqB3m vfIcHqxsr/HWiUcOkhPQnI8AXV+zwo465hdl6jNUoh28otCwsoR3p7Ep/OHO3OIKfOhY ty+A== X-Gm-Message-State: ABy/qLZKbIfULu2SCpQW4vwCExUNGEoZ6REWfajPXDgt7ze5h/JCI8Yb bvB89mSHjc8rOkItq5FY4QMHdgi51r0= X-Google-Smtp-Source: APBJJlElAqHY9CR9FQ2sFVij2Zn3LVyw3pbwFfVuCCoHUM1yQMkSka7vvZsCZAjpKocpkMkweRu7iQ== X-Received: by 2002:a0c:f0c7:0:b0:63c:cc0f:52e7 with SMTP id d7-20020a0cf0c7000000b0063ccc0f52e7mr2803705qvl.2.1690293324743; Tue, 25 Jul 2023 06:55:24 -0700 (PDT) Received: from hurd (dsl-10-134-200.b2b2c.ca. [72.10.134.200]) by smtp.gmail.com with ESMTPSA id w2-20020a0ce102000000b0063642bcc5e4sm4362024qvk.9.2023.07.25.06.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 06:55:23 -0700 (PDT) From: Maxim Cournoyer Date: Tue, 25 Jul 2023 09:55:22 -0400 Message-ID: <87h6ps2j05.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: 1.0 (+) 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: -0.0 (/) Hello, While investigating https://issues.guix.gnu.org/64836, I discovered that the cache of 'guix shell' doesn't take into account grafts for subsequent invocations. Consider, using Guix at commit 21b718f4d6c3ded8ef50d12f6e9ae6474f74620f: --8<---------------cut here---------------start------------->8--- $ guix build gtk+ /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37 $ guix build --no-grafts gtk+ /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37 $ guix shell gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 $ guix shell --no-grafts gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 --8<---------------cut here---------------end--------------->8--- The 'guix shell --no-grafts' invocation simply reused the same cache as the previous command, so grafts are in use, which is non-intuitive. The reverse would be true as well: --8<---------------cut here---------------start------------->8--- $ guix shell --rebuild-cache --no-grafts gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 $ guix shell gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 --8<---------------cut here---------------end--------------->8--- The ungrafted cache got reused by the invocation that should have used grafted inputs. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 11:44:05 2023 Received: (at control) by debbugs.gnu.org; 12 Oct 2023 15:44:05 +0000 Received: from localhost ([127.0.0.1]:44143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqxr2-0007I3-TV for submit@debbugs.gnu.org; Thu, 12 Oct 2023 11:44:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqxqz-0007HM-6g for control@debbugs.gnu.org; Thu, 12 Oct 2023 11:44:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqxqX-0000mF-BB for control@debbugs.gnu.org; Thu, 12 Oct 2023 11:43:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=py9O7kpMes+0jxHKx4BXrzMRgAMgvT8F39E46k5Sz7o=; b=opRIY8/ivEVInF XFDj95PXb4yxU1CFi4n3nG2mKj1jtzQZAu5eOhKjOBfBcWV2jPvxvtA80weLyxh8ZaYM9tI8gnkce 5VZIsbxArC4QRmt8aMWpJliYvccBuGjo5DLUSqPG3EpFDBp7L52XzpMpQyzOT5j37pzVFOGQh353h QsE5J8HPO67hh0iudOGYcoLnK+PF/P+X2OwvI54x8g5GYA3s/CRy+wC35IOi0D3+fD8FxS6CN7cBr Ii7ld7ximVfa8qprNY5PDwNrcPhER2P7RxqzBrotC/uI9BheG/U//Q/+4SpjjlcdFrCIW7iFORf5t FmXpXD34MdUSQcGmUHWQ==; Date: Thu, 12 Oct 2023 17:43:30 +0200 Message-Id: <871qdzlucd.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #64856 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) severity 64856 important quit From unknown Fri Aug 15 20:57:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#64856: closed (Re: bug#64856: guix shell cache doesn't consider grafts) Message-ID: References: <87wmvrkcda.fsf@gnu.org> <87h6ps2j05.fsf@gmail.com> X-Gnu-PR-Message: they-closed 64856 X-Gnu-PR-Package: guix Reply-To: 64856@debbugs.gnu.org Date: Thu, 12 Oct 2023 16:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1697129882-15522-1" This is a multi-part message in MIME format... ------------=_1697129882-15522-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64856: guix shell cache doesn't consider grafts which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64856@debbugs.gnu.org. --=20 64856: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64856 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1697129882-15522-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64856-done) by debbugs.gnu.org; 12 Oct 2023 16:57:42 +0000 Received: from localhost ([127.0.0.1]:44207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqz0I-00041r-6G for submit@debbugs.gnu.org; Thu, 12 Oct 2023 12:57:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqz0F-00041b-8Y for 64856-done@debbugs.gnu.org; Thu, 12 Oct 2023 12:57:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqyzl-0006hg-5m; Thu, 12 Oct 2023 12:57:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=i8CBDhqi8ikV+fDcmZehDMMIyvG7nzRJPyLUTfLqBFQ=; b=jykxq83EORlw/Dgu7JXA wuGoGVufn1QOkI0Jes7F2bQDcVkxXjN06a2FYZi0RUsj1FnSVXpkQJTcgCvyj5jE6jXP9B591xV/M IEnerXhUxsfeYtIM8Qc91lpTTs8/7LgLvPSdw3NkqtEv99ZX7DW2dcL8orQB6676Sr+IQ01H9Ly4x EJU3m1tig7jT0IgfkNzaysgrS1vI2BN02uJyS0H/WNNNOD0hhnWNlLnzI1TlvWrYwjzc9rT3PiBZ2 WF29/yDmxRRPS6Ptkds/s3a6DsnoSmb0SQ0ZCvB85DnsfjwaB1kZ67Ib1ykgHtseYNybgGkWa8CdO lN4jEs0uZSWb3w==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#64856: guix shell cache doesn't consider grafts In-Reply-To: <87h6ps2j05.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 25 Jul 2023 09:55:22 -0400") References: <87h6ps2j05.fsf@gmail.com> Date: Thu, 12 Oct 2023 18:57:05 +0200 Message-ID: <87wmvrkcda.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64856-done Cc: 64856-done@debbugs.gnu.org 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: -3.3 (---) Hello, Maxim Cournoyer skribis: > While investigating https://issues.guix.gnu.org/64836, I discovered that > the cache of 'guix shell' doesn't take into account grafts for > subsequent invocations. Fixed in 75bdf8e06a325b90bf387a03f88726d338acbbf6. Thanks, Ludo=E2=80=99. ------------=_1697129882-15522-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jul 2023 13:55:41 +0000 Received: from localhost ([127.0.0.1]:45946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIVp-0006wM-GX for submit@debbugs.gnu.org; Tue, 25 Jul 2023 09:55:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIVn-0006rv-Dw for submit@debbugs.gnu.org; Tue, 25 Jul 2023 09:55:40 -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 1qOIVb-0004ew-Po for bug-guix@gnu.org; Tue, 25 Jul 2023 09:55:28 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOIVa-0003jt-6j for bug-guix@gnu.org; Tue, 25 Jul 2023 09:55:27 -0400 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-76758b855edso292739385a.0 for ; Tue, 25 Jul 2023 06:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690293325; x=1690898125; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xRjpXXc/zj765N0hhEteecfIQXSsqVb2tQZhhD8QiRQ=; b=WeHmw3Quva+kcE1Du43EO6bPlwM97bRRtS4CzrNWqRC5zTLE0N2Hz0I3GKkN7ejjd6 Xg3URJiH8AgluViCc4Ro3ahKDYWQZ+Pww6PA3gzxCPiCuHEDOCOk8TRDEwFZ5WXLI3YH ZXyxJ0q7j2zb5kYrASWrULGa+35jgsD1ZtBfKCGReNUcxqCx8IzNA7NIsHEDBNLcczI+ GIF4vVxzgmjk6URS5Opettl8M3HWQu3ipdIW0ibMewc4HBoy6oVmlVhK+Sxfm4M1HLlJ O2iAW0XIsd74AxlE2cFepLSClhZ8H5DXl6iaABh0R1PfJtgSscAJLK50wvJBiwMtql/2 edtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690293325; x=1690898125; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xRjpXXc/zj765N0hhEteecfIQXSsqVb2tQZhhD8QiRQ=; b=YT/Kp9sbshcTZaoLoXE3PlgLyIlEnUBar6wPOAVzQLsur6y1fPfSGk3bGOMg0eg9t4 X+K6NUFn8G3vI+MKBy/eWHhHPXK5mQ4WWzLRWck1/3II2+fDYseA1TvY3+mSQSp2nqTr yV3rOSwlfuR3VnsUsrVZxd5iWdkTWIPs8UXmtNU2QcsjTH1tgR9Lim1rmbl8bPntDav2 Wn1XpBphsDqaLSyIgNnWqLVD+ivCNXTi8qO+p1aKXMakb8lL53209leUHxmlsbByqB3m vfIcHqxsr/HWiUcOkhPQnI8AXV+zwo465hdl6jNUoh28otCwsoR3p7Ep/OHO3OIKfOhY ty+A== X-Gm-Message-State: ABy/qLZKbIfULu2SCpQW4vwCExUNGEoZ6REWfajPXDgt7ze5h/JCI8Yb bvB89mSHjc8rOkItq5FY4QMHdgi51r0= X-Google-Smtp-Source: APBJJlElAqHY9CR9FQ2sFVij2Zn3LVyw3pbwFfVuCCoHUM1yQMkSka7vvZsCZAjpKocpkMkweRu7iQ== X-Received: by 2002:a0c:f0c7:0:b0:63c:cc0f:52e7 with SMTP id d7-20020a0cf0c7000000b0063ccc0f52e7mr2803705qvl.2.1690293324743; Tue, 25 Jul 2023 06:55:24 -0700 (PDT) Received: from hurd (dsl-10-134-200.b2b2c.ca. [72.10.134.200]) by smtp.gmail.com with ESMTPSA id w2-20020a0ce102000000b0063642bcc5e4sm4362024qvk.9.2023.07.25.06.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 06:55:23 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: guix shell cache doesn't consider grafts Date: Tue, 25 Jul 2023 09:55:22 -0400 Message-ID: <87h6ps2j05.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit 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: -0.0 (/) Hello, While investigating https://issues.guix.gnu.org/64836, I discovered that the cache of 'guix shell' doesn't take into account grafts for subsequent invocations. Consider, using Guix at commit 21b718f4d6c3ded8ef50d12f6e9ae6474f74620f: --8<---------------cut here---------------start------------->8--- $ guix build gtk+ /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37 $ guix build --no-grafts gtk+ /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37 $ guix shell gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 $ guix shell --no-grafts gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/6vqx7nip7r95h2nhvhb9vxzjpri581b9-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 --8<---------------cut here---------------end--------------->8--- The 'guix shell --no-grafts' invocation simply reused the same cache as the previous command, so grafts are in use, which is non-intuitive. The reverse would be true as well: --8<---------------cut here---------------start------------->8--- $ guix shell --rebuild-cache --no-grafts gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 $ guix shell gtk+ -- sh -c 'realpath $GUIX_ENVIRONMENT/lib/libgtk-3.so' /gnu/store/2n2kprz35a19ibs5kbjsb3k4cdl69q2w-gtk+-3.24.37/lib/libgtk-3.so.0.2405.32 --8<---------------cut here---------------end--------------->8--- The ungrafted cache got reused by the invocation that should have used grafted inputs. -- Thanks, Maxim ------------=_1697129882-15522-1--