help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interactively debugging os configuration


From: c4droid
Subject: Re: interactively debugging os configuration
Date: Mon, 17 May 2021 16:26:01 +0800
User-agent: mu4e 1.4.15; emacs 27.2

Hi, Kevin.

kevinbanjo writes:

> Hi everyone:
>
> I think I might be on the verge of getting the guix system (or something
> closely resembling it) running fairly simply under wsl 2 but this sample os
> config file:
>
> https://github.com/giuliano108/guix-packages/blob/master/systems/wsl-config.scm
>
> is giving me the following error:
>
> ~ # guix system reconfigure --no-bootloader wsl-config.scm
>                 (supplementary-groups '("wheel")))
>                        |guix system: error: failed to load 'wsl-config.scm':
>                %base-user-accounts))
>                        |/root/wsl-config.scm:90:70: In procedure
> profile-content: Wrong type argument: #<<scheme-file> name: "
>
> I know elisp and clojure fairly well but not so much scheme and especially
> not guile so can anyone either point out to me what the error is or failing
> that how I might bring this up in a repl so I can interactively debug it?
>

You can load your configuration file with guix repl, using the repl
command ,l to load your configuration file (e.g. ,l 
ABSOLUTE_PATH/wsl-config.asm)

> I have very limited capabilities of debugging it from the windows command
> line tool running character based emacs which I installed in guix (and I'm
> reluctant to go configuring guix too much more incase I break something and
> have to just jettison it all and start over since I can't get the system
> reconfigure going).
>
> TIA,
> -Kevin

------

Best reguards
c4droid



reply via email to

[Prev in Thread] Current Thread [Next in Thread]