unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: help-guix@gnu.org
Subject: Is it possible to system reconfigure from a local guix git?
Date: Tue, 18 Apr 2023 01:15:37 +0200	[thread overview]
Message-ID: <20230418011537.1dd9282e@primary_laptop> (raw)

[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]

Hi,

I'm still using i686 to be able to know when it's broken and if
time permits, to send patches to fix some of the issues affecting me.

Since patches often take a long time to be reviewed (we probably need
more reviewers), I was wondering if it was possible to reconfigure from
a local Guix git checkout.

Running a system straight from a git repository would also enable me to
improve my workflow and test better the patches.

The issue I have here is that I can easily do that:
> $ guix shell -D guix
> $ ./pre-inst-env guix system build system.scm

But I didn't find a way to make sudo and pre-inst-env work together.

I've tried things like that:
> $ sudo -E ./pre-inst-env guix system reconfigure system.scm

And it reconfigured my system but I then have a broken guix
installation:
> $ guix shell -D guix
> ;;; Failed to autoload symlink-spec-option-parser in (guix scripts
> pack): ;;; Throw to key `record-abi-mismatch-error' with args
> `(abi-check "~a: record ABI mismatch; recompilation needed"
> (#<record-type <svn-reference>>) ())'.

What is the correct way (if any) to do something like that?

PS: There is also normally a way to recover from that since I was
    helped on IRC to recover and at some point it worked.
    So I'll try various things like 'rm -rf ~/.cache/guile/ccache/ &&
    guix pull' until I find how to recover.

Denis.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2023-04-17 23:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17 23:15 Denis 'GNUtoo' Carikli [this message]
2023-04-18  0:07 ` Is it possible to system reconfigure from a local guix git? Felix Lechner via
2023-04-18  7:03 ` Andreas Enge
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=20230418011537.1dd9282e@primary_laptop \
    --to=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).