unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Is it possible to system reconfigure from a local guix git?
@ 2023-04-17 23:15 Denis 'GNUtoo' Carikli
  2023-04-18  0:07 ` Felix Lechner via
  2023-04-18  7:03 ` Andreas Enge
  0 siblings, 2 replies; 5+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2023-04-17 23:15 UTC (permalink / raw)
  To: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-20 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-04-19 15:29   ` Denis 'GNUtoo' Carikli
2023-04-20 12:46     ` Maxim Cournoyer

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).