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 ms9.migadu.com with LMTPS id gHEiLbO5l2TbYgAASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 05:51:15 +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 OM5TLbO5l2SUFAEA9RJhRA (envelope-from ) for ; Sun, 25 Jun 2023 05:51:15 +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 53C1731A08 for ; Sun, 25 Jun 2023 05:51:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDGlw-0002Yl-Kx; Sat, 24 Jun 2023 23:50:44 -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 1qDGlu-0002YX-BT for help-guix@gnu.org; Sat, 24 Jun 2023 23:50:42 -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 1qDGls-0006jh-8S for help-guix@gnu.org; Sat, 24 Jun 2023 23:50:42 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 73DBE1AC9C; Sat, 24 Jun 2023 20:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1687665031; bh=eZTiRzW/az6AGepQQTfbM5QOInnl9QGQ47kGhyXgwYA=; h=From:To:Subject:In-Reply-To:References:Date:From; b=ajvdIS9bWuN+wvwKpMkXzz82XttWVUyBeTP2YGDyrPHp/KLYF9LYPNx4/W1fz8HC3 QM3PpVl51q865XmpviJXs7o9rD0sImE7/kNmETpCbaEhTSyBxEaVVb/YPw3qXUy1Sj 6Nd9dHuKx3thY9b9LadDMCuGrgj4H0F5WRKh8xl6ww5i+q7VQVocmZCt1VJ4yvervs dyhpoOwJ4vM3lha9KB8QnKFWIdSV52wn69A8exFx5wvWJ5+acXt4Ut6duiZfQckA9Q zGN/StTtNRvBLUxhE6BstWmOLv9D7l+N935o1tl7e9KnLG3NwghEmzx+gIGmR21OMD rjfVAGrA2M/5A== From: Vagrant Cascadian To: Rodrigo Morales , help-guix@gnu.org Subject: Re: Newbie: Why using "guix edit" opens read-only files in /gnu/store? In-Reply-To: References: Date: Sat, 24 Jun 2023 20:50:25 -0700 Message-ID: <87sfag19q6.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687665075; a=rsa-sha256; cv=none; b=Gr9BjJXo+AfV+3PywZLsbdU9oSSDze2KresmxQOLPark1avQwbdySHPWGnZ1IbdEMW5+kd 0e784ZIxGhUZTsJT7hd6Gf7fXgHX3+DuCkzMOrv5GHLZua+D+3BnMLETIRcTjtZphXn1R7 cQ2pJwr0MrW0mTOX3CByx6qDEtZ1t/Is/dkJAGTzbtpEhIi+LaOeLzQ0kUHhOZIDN5rI6n bTVozZA8VDAMAtdDJVS8HG8Ze5XOz4JRj2x6BZfkxS5wcY6xBDKSQW8AwDh6LsuR40QbHT Weg4YDCeiMQQ62bcapE/fOjNB07jbbgQMDH1I+cf1VhUhi0D2U/C3lZ8Hd4UlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ajvdIS9b; 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=1687665075; 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=gO2CFePWV7yDr4C+VSrjhsIt4gqEDpp5Mts0J1HhJ9M=; b=tD/IMlQ0UBDl3T6rkdF9Gob2ruU+LiWmbBNuDqL8TvLrfOoRkhH9lVCbvXP1MbC4U+hg4I UYWZW0I30cohrwI7vih4EtLw8awfo3rWNaKyhwzKZTcwupV0AJGD2KJrZBmxzSS36/VlPF 4zryPAeof0aRkuUV6i1Auzog2lJcrcfYyV0JRCZxiObRMRuu0MtHGR+3U+Yf918+OVqC5f 09QfWZchBB6kWHUZpgRHFXaEnO0OTsga9U7NT+2azABambmoyrDq7reo3tpFUBcQQ3qpUz D/b7pyyxNWr+vf2hAiO7H4iCfLV7PJ/1dgJyZoqOsUIm1heTfwSrIYxZwND+sQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=ajvdIS9b; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.18 X-Spam-Score: -7.18 X-Migadu-Queue-Id: 53C1731A08 X-TUID: qeRWmz3b1R6J --=-=-= Content-Type: text/plain On 2023-06-25, Rodrigo Morales wrote: > From what I understand, no file in `/gnu/store' can be edited by any > user. My question is: Isn't the purpose of `guix edit' edit package > definitions? Then, why when `guix edit <>' is executed, a file > under /gnu/store is shown? For the record, I just executed `guix edit > emacs' and the file > /gnu/store/nxy09dxmm23krdgszgww2v80v8bkcll5-guix-module-union/share/guile/site/3.0/gnu/packages/emacs.scm > was opened. It is certainly confusing, and has come a few times. It would be more ideal to copy that file somewhere where it can be edited than trying to edit the file in the store directly. It is still useful when building from git, as described in: https://guix.gnu.org/en/manual/devel/en/guix.html#Building-from-Git Then this should work more-or-less as one might expect: ./pre-inst-env guix edit PACKAGE live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZJe5gQAKCRDcUY/If5cW qgEeAQCG5Gzkih5xXecoPWV2osdq7c+bjYi6ZBY0QmouiMWy9AEA1haf9hXd0iYr WE78mVgWXokMGpNse+ApPw4gKOYcaQw= =8d8J -----END PGP SIGNATURE----- --=-=-=--