unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* interactively debugging os configuration
@ 2021-05-17  7:19 kevinbanjo
       [not found] ` <87sg2ldaw6.fsf@foxmail.com>
  2021-05-18  2:28 ` Joshua Branson
  0 siblings, 2 replies; 5+ messages in thread
From: kevinbanjo @ 2021-05-17  7:19 UTC (permalink / raw)
  To: help-guix

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?

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

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

* Re: interactively debugging os configuration
       [not found] ` <87sg2ldaw6.fsf@foxmail.com>
@ 2021-05-17  8:26   ` c4droid
       [not found]   ` <87pmxpdasp.fsf@foxmail.com>
  1 sibling, 0 replies; 5+ messages in thread
From: c4droid @ 2021-05-17  8:26 UTC (permalink / raw)
  To: kevinbanjo; +Cc: help-guix

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


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

* Re: interactively debugging os configuration
       [not found]   ` <87pmxpdasp.fsf@foxmail.com>
@ 2021-05-17  8:28     ` c4droid
  2021-05-17 20:01       ` kevinbanjo
  0 siblings, 1 reply; 5+ messages in thread
From: c4droid @ 2021-05-17  8:28 UTC (permalink / raw)
  To: kevinbanjo; +Cc: help-guix


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



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

* Re: interactively debugging os configuration
  2021-05-17  8:28     ` c4droid
@ 2021-05-17 20:01       ` kevinbanjo
  0 siblings, 0 replies; 5+ messages in thread
From: kevinbanjo @ 2021-05-17 20:01 UTC (permalink / raw)
  To: c4droid; +Cc: help-guix

On Mon, May 17, 2021 at 1:28 AM c4droid <c4droid@foxmail.com> wrote:

>
> c4droid writes:
> <snip>



> > 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
>
> haha, yes, well, that should be quite helpful, thanks!

-Kevin

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

* Re: interactively debugging os configuration
  2021-05-17  7:19 interactively debugging os configuration kevinbanjo
       [not found] ` <87sg2ldaw6.fsf@foxmail.com>
@ 2021-05-18  2:28 ` Joshua Branson
  1 sibling, 0 replies; 5+ messages in thread
From: Joshua Branson @ 2021-05-18  2:28 UTC (permalink / raw)
  To: kevinbanjo; +Cc: help-guix

kevinbanjo <kevinbanjo@gmail.com> 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

If you get a good simple guix configuration, you may consider writing
that config in the guix cookbook.  It would be nice if people could grab
a simple guix config that would work well on wsl.  

I personally use guix system, but maybe guix on wsl would encourage more
people to move to guix system.

-- 
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
  


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

end of thread, other threads:[~2021-05-18  2:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-05-17 20:01       ` kevinbanjo
2021-05-18  2:28 ` Joshua Branson

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