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 ms5.migadu.com with LMTPS id oBU/H+sV1WLoEwEAbAwnHQ (envelope-from ) for ; Mon, 18 Jul 2022 10:12:27 +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 0K45H+sV1WIbRgAA9RJhRA (envelope-from ) for ; Mon, 18 Jul 2022 10:12:27 +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 4719B14A1D for ; Mon, 18 Jul 2022 10:12:27 +0200 (CEST) Received: from localhost ([::1]:48798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDLre-00074B-DU for larch@yhetil.org; Mon, 18 Jul 2022 04:12:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDLr0-000741-AU for help-guix@gnu.org; Mon, 18 Jul 2022 04:11:47 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDLqy-0005CE-A4 for help-guix@gnu.org; Mon, 18 Jul 2022 04:11:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1658131900; cv=none; d=zohomail.com; s=zohoarc; b=Gx+iJ4nFia1M7+3whWvrBDsMFVPG2cBCyNIZYTzQAKQIxkeeNXZSTZgNfIyMiK4AaZThhZHpWfdDgJyIWt+OhqUvTXcRtbLMPciBDXfhWGICIwHIYJ+8AD2otIZ82iqFPe4Zv9e8yp3H4f5dRQPhyWeFUS4bEUiXVnYQ0E6mtPs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658131900; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Efne6hLMh5NYZNJmPToYIRJy/Y9Ywgnep6Bcirp/yoA=; b=bWnEnVY6FGCiPVKl8JDwHWq83ZZBsX+OtOfS9MnImEyxs+QxVkTKhFel5m5k1+/IQSCRI9Ste0WjbEMKIaep/bbgAyBB4Gl5k+KL8gwe7BQO6MMDkBf8Lm8w4OSuHoTUGxXP4aZ0vno/InXyfZmMYQ/yjnEOO9OLFkDd6T5ASH0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1658131900; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Efne6hLMh5NYZNJmPToYIRJy/Y9Ywgnep6Bcirp/yoA=; b=TWe7bKJucWWtrsUOEHbtTzp220kha4GoeMRsWR1ikeGy2s4dQTBWDw5j4jxLCAbQ /CSu19wUzux/3DvKpyPXkci7EwrCtKg/LiuyBSo06AamyIdqWS/Mmj9l1dgqzfY91/I 0fEXdU+upyjUqY5wN+kNG1/j0ISHvZRuusq1G5nQ= Received: from localhost (i5E862CB9.versanet.de [94.134.44.185]) by mx.zohomail.com with SMTPS id 1658131898195439.9578069183026; Mon, 18 Jul 2022 01:11:38 -0700 (PDT) References: User-agent: mu4e 1.6.11; emacs 28.1 From: Ricardo Wurmus To: =?utf-8?B?QW5kcsOhcyBWw7Zyw7Zza8WRaQ==?= Cc: help-guix@gnu.org Subject: Re: fixing sticky package Date: Mon, 18 Jul 2022 10:09:21 +0200 In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87wncau9ft.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658131947; 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=Efne6hLMh5NYZNJmPToYIRJy/Y9Ywgnep6Bcirp/yoA=; b=a234Ih8ijzKX4YAcFGRkgfAiyx6OLkCR6IDp0YNL8pGuw0bpjK34txzGrVF2fS9cYtqQH1 VIqev1Hs4YJhG/YKhT6SqNlc+PZRnpgb5u7DU/EJgNDpvBbpU703w803SPa6W37chW3M0f yOZ9lLTIYkD8zpj4Y+xydvUtpjP4EigvNuVJkx5BeRO4sZmDP938AIzTcGqzEEBfPoWOws niP7pxjiLEwT2ovxpGCiczLBLfyCMztK9n+Xyd67XSSrPY5gKVB/TR1qK5tnBSkySCnPS0 iC0qhbjC54csIMqJqlgSOw+7s8I3gclGtzSKx86ZqnK+WUnXlkmeufgHBSB/UQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1658131947; a=rsa-sha256; cv=pass; b=Uu5wR2SVfCTm0a33SEf55wwjKJc7yqsow/dU1VSlvimvJxltP0VwKUufbDLNbK32as/MvZ gkBQkWz76yB46CfH9892SRW3/LrbPx8K/XFxwFkjDuKov4fjPxGuV3Nfi6Lfpn7cpgbIZM BO/0t7VKGQr9g7kQfEQmj8T5S4zrw2wdRdfv+eeB1mStz4rRGgkZUIwjAiwav7lBhlK4tw C43fm+RJ2tWI9dD2WSnpIQhzkCS/1oCD3jpE0DeKjUWRaLJWhKRYi+7r11DlXcIcM3fFV0 ZY8xrf7gDRsd2aPCQZWK9ExqYVUD32+lmmaEiefDMpZbGPLjVR2xw7KoJC22EA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=TWe7bKJu; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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-Spam-Score: -9.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=TWe7bKJu; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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: 4719B14A1D X-Spam-Score: -9.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: TPk0ML42kjOl Hi Andr=C3=A1s, > I have done something like this: > 1. I have zig@0.10 installed in my profile. > 2. Started a guix shell -m guix.scm which has zig@0.9 > 3. Run zig version and it reported 0.10.0 What does your ~/.bashrc look like? What does =E2=80=9Cguix shell --check=E2=80=9D say? > However when I run `which zig` it finds `zig` in /gnu/store. This indicates that GUIX_PROFILE was not set when the environment variables in etc/profile were set. When GUIX_PROFILE is set the environment variables are set relative to the location it specifies; when it is not set the /gnu/store locations will be used, which is rarely what you want. --=20 Ricardo