From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 WIs+OEwhsWbACQEA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 19:00:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WIs+OEwhsWbACQEA62LTzQ (envelope-from ) for ; Mon, 05 Aug 2024 21:00:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=cZRu3RW5; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722884428; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Zdh31hTSvkMDXR+dv9j9oGi/3G/xr930+QR9muNQAcU=; b=Eg/bJYkQJfN8yaNN25/UGlJqB56QySE1HGQwhXI9WeKnx3uCgu8R++wJuXHNLASBDab7DG pxxtGUc2l36lGfZ3Qukae97nhTFooQZ1jHbJqmwDagqAQq+z4YnmLRtoRQBVu59e0DTEDl e5ioH+xQDyxvWXzi40E5R9RCAHT1LHWyaerwZzQBfFPFVN3e0XAzH5ZbRFuMYp3ar0LHpw sKFacMQySBNkJNuPZfyJqrndUzU7/RK9AY05DK9zP0LYws7Pfuh7vt442/DJwXDyemGIMy JynD3ygyi94oTq6qOq0NZkYHNOwpD9dEu7HWwffczUeKXqs3ly1Wk4VEiwfVFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722884428; a=rsa-sha256; cv=none; b=LBKXs8wcafTu2suPN922x4KJJtVPBvRNtKnj5nKTYW3/SC/8kgkfgOA6WC6vsu+/jLuoFo +czukkSfbnzpV0NduNboD4wbCOGDjQM8x10ZRVfdDFGs6nwz+Eu8p27F+iuHzgF6VaPNou /Z6d4xZBWiAIerw93lGX8s3Le3OmuBCksGwp5KyGq+HFC575E+MROb1bzJNXIV0gs58KWn S5WZ9KLnqn17g8D+p3oW2/LmgJYxU4Ef1KVVcJlgxqWo8grbht8wgcTTzourX8E7YlL2P9 vyZ/8EuPyLo7PHwnJ+eAQoVJLbu0TPHXEwIr4epJoxnQF3lBB+bHI+WGmr/SPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=cZRu3RW5; 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" 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 627F33628A for ; Mon, 5 Aug 2024 21:00:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb2wD-0001vS-8b; Mon, 05 Aug 2024 15:00:09 -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 1sb2wA-0001vD-Qf for help-guix@gnu.org; Mon, 05 Aug 2024 15:00:07 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sb2w8-0005YZ-Md for help-guix@gnu.org; Mon, 05 Aug 2024 15:00:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1722884397; bh=hL6uvU2eSs0Cky8jjwPDwjKLdaTrVQZU7XWQduueeMc=; h=From:To:Subject:In-Reply-To:References:Date:From; b=cZRu3RW5f7pSVEBtmaA55Vf3BZVTHuUmAqKJ44viymY/DQeuFJ0gjliw35bJeOv1p 60VLDvJRqamKTrffzEC3M7TlIGruiHTMGn9OLh1TfKj8JnDZkBi2+6VuEDtbw6c0J/ Lf3zwGyMaxjOoYnouwLjjZExXwvTHil/2FE9YRFU/b/V1XRwNMB4/A93y34gWIDmCA jAvVoYYV/4GzsljKi+NS6WxxXNwyeSjmVLji06qB9QfD+Mi4CTywZYpOJgj8f9l9fv 9OycC3GquI88MMzMkLzppOBLrFHLmJ2dbJtx12/ETr44gvRKX/LPk0SHU6BM1MZrRb KAx8EPkoXAmkQ== Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0A5D51674; Mon, 5 Aug 2024 11:59:57 -0700 (PDT) From: Vagrant Cascadian To: Rodrigo Morales , help-guix@gnu.org Subject: Re: [question] How to use data that was previously downloaded using "guix pull" in a new system user? In-Reply-To: <87a5hvd6r2.fsf@morales.pe> References: <87a5hvd6r2.fsf@morales.pe> Date: Mon, 05 Aug 2024 11:59:51 -0700 Message-ID: <87h6byu76g.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.143, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 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: 627F33628A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -12.14 X-Spam-Score: -12.14 X-TUID: BqOinS2qddGY --=-=-= Content-Type: text/plain On 2024-08-01, Rodrigo Morales wrote: > 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. ... > 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=? Calling the binary from the other user profile directly should work: /var/guix/profiles/per-user/rodrigo/current-guix/bin/guix build SOMEPACKAGE Or alternately looking at the store item that that user's profile points to and using it even more directly: ls -l /var/guix/profiles/per-user/rodrigo/current-guix /gnu/store/.../bin/guix build SOMEPACKAGE You might be able to manually register that same store item as your user's "current-guix" profile too by symlinking the correct things... though I am less sure of how to do that correctly off the top of my head. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZrEhJwAKCRDcUY/If5cW qlZpAPsG0w1LtPOZyI7qcdetc0dwI0tCljttRbD6vUCu29PCGAEAnF4Vby7RvV85 E6tUaSitKEo7BqYqcklvA/Pg0xkW2go= =Vztx -----END PGP SIGNATURE----- --=-=-=--