unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: help-guix@gnu.org
Subject: Re: Is it possible to system reconfigure from a local guix git?
Date: Tue, 18 Apr 2023 09:03:51 +0200	[thread overview]
Message-ID: <ZD5A12Lr7fu5YTMw@jurong> (raw)
In-Reply-To: <20230418011537.1dd9282e@primary_laptop>

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



  parent reply	other threads:[~2023-04-18  7:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17 23:15 Is it possible to system reconfigure from a local guix git? Denis 'GNUtoo' Carikli
2023-04-18  0:07 ` Felix Lechner via
2023-04-18  7:03 ` Andreas Enge [this message]
2023-04-19 15:29   ` Denis 'GNUtoo' Carikli
2023-04-20 12:46     ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZD5A12Lr7fu5YTMw@jurong \
    --to=andreas@enge.fr \
    --cc=GNUtoo@cyberdimension.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).