unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: c4droid <c4droid@foxmail.com>
To: kevinbanjo <kevinbanjo@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: interactively debugging os configuration
Date: Mon, 17 May 2021 16:28:06 +0800	[thread overview]
Message-ID: <tencent_5F1DE97FA589BEC2A1B6E8865560D8EDFA05@qq.com> (raw)
Message-ID: <87pmxpdasp.fsf@foxmail.com> (raw)
In-Reply-To: <87sg2ldaw6.fsf@foxmail.com>


c4droid writes:

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

Sorry for my typo, is wsl-conffig.scm :P

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



  parent reply	other threads:[~2021-05-17 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-17  7:19 interactively debugging os configuration kevinbanjo
     [not found] ` <87sg2ldaw6.fsf@foxmail.com>
2021-05-17  8:26   ` c4droid
     [not found]   ` <87pmxpdasp.fsf@foxmail.com>
2021-05-17  8:28     ` c4droid [this message]
2021-05-17 20:01       ` kevinbanjo
2021-05-18  2:28 ` Joshua Branson

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=tencent_5F1DE97FA589BEC2A1B6E8865560D8EDFA05@qq.com \
    --to=c4droid@foxmail.com \
    --cc=help-guix@gnu.org \
    --cc=kevinbanjo@gmail.com \
    /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).