From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MJhnG4EKsWZv3QAA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 17:23:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MJhnG4EKsWZv3QAA62LTzQ (envelope-from ) for ; Mon, 05 Aug 2024 19:23:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722878593; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=iUIUo+yQCqvbvUn2raLHz76ZzgjV/Fj0gzBKHue6nn8=; b=ijmTj6Kxbv32SJhYwNSZ0CXSMDy7P5/oVaAgKCO0JxrSm+ZTo2NNu+6f6Yhu6iOUVitn5o /J5NpNWNiNtWzxYChQTaW98RjrDUFg5ZywEhzDpJRJkMQCIWFUfKqq4QZTUrsNwyOrPHho Vr+AluCii2a7wj5Z0aqXdFmuap4HHVRmna6REiHNGNpFMFePNfez1YFktoP1qg5x1TEMaV VsncXp0Lsf/Wvi9mKfrAbVs0nEkFUhF2UomH0rdwlctrzXtRgunjqq1EDnY4zTU1pLg2r8 5zNnLabb0g4PjzmYXMI2ydL+9oRfk5xbDsRXsr1XcAzccTfrBkhojgID91a6zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722878593; a=rsa-sha256; cv=none; b=EKg0MvXC/BWV4Gcjw8cIisjoSU+wkSWFwHQc7y4cK5HtfLB9MEpNq22p6+2uWnoqoYNEef QDTMvn894Oil3FVOL/u+lWn0ddT948DauXChR+aynOkWS8dxdbuUYPxH824iOjE9mO9mZP u748e3ZFSIwtW8Qj2WlgSHxP/jH3lvp20XI2dbUS48VmgYvFeOTD4Htjem6ac5z5cmDzar xKmE8Qf5FCM5k1+RadJkMAFH2HChjyJ9gUhp8a/u0wQE14Qcq2od+F0bwYf1zwNOL8MJWC YHKcgs+h2IZGq22vTBIRbN4ym3WsWGCqo866pLZ64rPFcxYMXHdgtIoJ+Sb7CA== 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 58BBF38F5B for ; Mon, 5 Aug 2024 19:23:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb1Q1-0000ME-Qi; Mon, 05 Aug 2024 13:22:49 -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 1sZh4l-0002AH-Km for help-guix@gnu.org; Thu, 01 Aug 2024 21:27:23 -0400 Received: from smtpout1.mo12.mail-out.ovh.ca ([51.161.45.254]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZh4j-0003e0-FC for help-guix@gnu.org; Thu, 01 Aug 2024 21:27:23 -0400 Received: from mxplan1.mail.ovh.ca (unknown [10.111.38.32]) by mo12.mail-out.ovh.ca (Postfix) with ESMTPS id 4WZp8v1zX3zHptB for ; Thu, 1 Aug 2024 22:27:10 -0300 (ADT) Received: from morales.pe (54.39.251.57) by DAG2EX2.mxpca1.local (172.16.2.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 1 Aug 2024 21:27:09 -0400 X-OVh-ClientIp: 190.42.240.71 From: Rodrigo Morales To: Subject: [question] How to use data that was previously downloaded using "guix pull" in a new system user? Date: Thu, 1 Aug 2024 20:27:08 -0500 Message-ID: <87frrnd89f.fsf@morales.pe> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [54.39.251.57] X-ClientProxiedBy: DAG1EX1.mxpca1.local (172.16.2.1) To DAG2EX2.mxpca1.local (172.16.2.12) X-Ovh-Tracer-GUID: f4c48df1-c3af-4596-88cc-3e1f22522d74 X-Ovh-Tracer-Id: 3886043530965784087 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrjeelgdegjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtghisehttdertddttddtnecuhfhrohhmpeftohgurhhighhoucfoohhrrghlvghsuceorhhoughrihhgohdqmhgrihhlihhnghdqlhhishhtshesmhhorhgrlhgvshdrphgvqeenucggtffrrghtthgvrhhnpefhtdfhledtvdfhteehvdfgieelhfegffffhfeugedtffejieffuefhtefhieehjeenucffohhmrghinhepghhnuhdrohhrghenucfkphepuddvjedrtddrtddruddpheegrdefledrvdehuddrheejpdduledtrdegvddrvdegtddrjedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehrohgurhhighhoqdhmrghilhhinhhgqdhlihhsthhssehmohhrrghlvghsrdhpvgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohduvddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=51.161.45.254; envelope-from=rodrigo-mailing-lists@morales.pe; helo=smtpout1.mo12.mail-out.ovh.ca X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 05 Aug 2024 13:22:48 -0400 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 X-Migadu-Queue-Id: 58BBF38F5B X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.44 X-Spam-Score: -4.44 X-TUID: QWgcpgQ5tGmp I'm running guix in Ubuntu 22.04.4 LTS on my desktop computer. On my desktop computer, I like running experiments just to see what happens. When I want to run an experiment related to the default behavior of a tool, I create a new system user (using the command =sudo useradd --create-home experiment-1=) and execute whatever command I want to experiment with, this way I make sure that none of my dotfiles change the default behavior of the tool. On my desktop computer, =rodrigo= is the user that has all my dotfiles, and the users that I use for running experiments are called =experiment-1=, =experiment-2=, =experiment-3= and so on. I want to run some experiments that involve using the =guix= command. In Ubuntu, I installed =guix= using =sudo apt install guix=. If I create a new system user, =guix version= reports the following version: #+BEGIN_SRC sh $ guix --version guix (GNU Guix) 1.3.0 Copyright (C) 2021 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. #+END_SRC If I create a new system user and I run =guix pull=. Upon completion of the command =guix pull=, =guix version= reports the following version: #+BEGIN_SRC text $ guix --version hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix install glibc-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. guix (GNU Guix) 2b4e3c9847dce02e371ff4dce615789fdfd101fa Copyright (C) 2024 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. #+END_SRC In the experiments that I want to run, I don't want to use the verison 1.3.0 (i.e. the one that is installed through "sudo apt install"). Instead, I want to use the latest version that exists on my system. This way, I avoid having to run "guix pull", which requires significant time (more than 20 minutes on my system). The reason I want to do this is that when I am running experiments, I very often need to use a newly created system user. My question is: In a newly created system user, how to make the =guix= command be aware of data that has been previously downloaded through =guix pull=?