From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8GgRDhJBPmTShwAASxT56A (envelope-from ) for ; Tue, 18 Apr 2023 09:04:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0GgEDhJBPmRhyQAA9RJhRA (envelope-from ) for ; Tue, 18 Apr 2023 09:04:50 +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 90FE79EB1 for ; Tue, 18 Apr 2023 09:04:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pofNm-0001XP-T4; Tue, 18 Apr 2023 03:04:06 -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 1pofNi-0001X7-1d for help-guix@gnu.org; Tue, 18 Apr 2023 03:04:02 -0400 Received: from hera.aquilenet.fr ([2a0c:e300::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pofNe-0007uq-L3 for help-guix@gnu.org; Tue, 18 Apr 2023 03:04:01 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8E8F710CD; Tue, 18 Apr 2023 09:03:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MwBGWKWeyv8K; Tue, 18 Apr 2023 09:03:53 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F34204A8; Tue, 18 Apr 2023 09:03:52 +0200 (CEST) Date: Tue, 18 Apr 2023 09:03:51 +0200 From: Andreas Enge To: Denis 'GNUtoo' Carikli Cc: help-guix@gnu.org Subject: Re: Is it possible to system reconfigure from a local guix git? Message-ID: References: <20230418011537.1dd9282e@primary_laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230418011537.1dd9282e@primary_laptop> Received-SPF: pass client-ip=2a0c:e300::1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr 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, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681801490; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=jqL4hQQsItfHOKFX0fFB+LKx7MTWmwIDT9HWFe25J6w=; b=hthRGvN8ZguVmZB0AV4jTI8KIsB3/4buSD5qD0K6fF9UmxBTrO4uBaJYXZEujLi06yuNqz ncsaeCNB9OMhbB49A9Wyy6ZtSB1XDwABqlWcpFdPMFgfZMVkFCLQVRq1AHS8pe9XWzCgfx KdTFmPZ7IqSmAS1veG4zV2ptjZt3cZaRQ+SZPG522uw+XEKbqPBy9ez1+EnEDp8VsXanXu MRzfyrPkgrCqDDi1S23MvrUntYgLfOTY3gRhQ+F0gTUv1mRO+pyPz2ooUxxUMMvo+mURIe AFAg2C7CaIMaLDRk6WyKTIwvDIBHjkekz8NH+GgoTz+c7Q90d1Vebe4Vt0FsNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681801490; a=rsa-sha256; cv=none; b=iZnM0FawjkHdJ8KHEBAYQZIq0fW6m+eBmQ3OFqdfYpwalp4qud5PpwmB4y3NpikdhYdOPb cAW3jqTkJakBA8YVFvGBP7EzOJvmnJrjGfRpkatv9nxIwiADX1Fa4eXuJt0MolKaSlL6Ne daciItVEZmMvcqmC2raHRwKihNj3k4dbfiJ0vECp6pwlyBW6lofDbtQSuzCxwLCwj/7494 NPxHeAFfmgtj7pI6i9GvS7I42BVZtXz8Tle6Qnm8jHa2Lqdo8Hw6TbU9U+5Gf1mSIhQ5S8 uwFo6ynlcM9waaXj+pofS+la4j+qlbF72j6Rm/ev0GdpOOOBJgfja51JTQqf+Q== X-Migadu-Spam-Score: -1.99 X-Spam-Score: -1.99 X-Migadu-Queue-Id: 90FE79EB1 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: jqJQpIQv3mgM Hello, my reply does not quite answer your question, but here is how I do it by circumventing the problem... I have never quite understood sudo and always used su. Am Tue, Apr 18, 2023 at 01:15:37AM +0200 schrieb Denis 'GNUtoo' Carikli: > > $ guix shell -D guix > > $ ./pre-inst-env guix system build system.scm So in a first step, if I am limited to sudo, I do "sudo su -" to become root. Then either I use a git checkout of guix as root, or I cd to my regular user's git checkout. Then ./pre-inst-env guix system reconfigure ... Andreas