guix-packages
guix-packages copied to clipboard
<profile> unbound variable
I've got pretty far in the steps, but got stuck on this error:
/etc # guix system reconfigure --no-bootloader ./wsl-config.scm
ice-9/eval.scm:223:20: In procedure proc:
error: <profile>: unbound variable
hint: Did you forget a `use-modules' form?
Any pointers would be appreciated.
Ehy @digash , I had a look but could not reproduce the issue. 😕
I tried to bring up a Guix WSL distro from scratch following the procedure, it worked as expected. Are you're sure you set the GUIX_PROFILE
variable correctly and sourced $GUIX_PROFILE/etc/profile
, before starting the daemon and carrying on with the rest of the steps.
The last phases of my test (guix pull
before guix system reconfigure
).
/ # /busybox cat <<EOM >> /etc/services
> ftp 21/tcp
> ssh 22/tcp # SSH Remote Login Protocol
> domain 53/tcp # Domain Name Server
> domain 53/udp
> http 80/tcp www # WorldWideWeb HTTP
> https 443/tcp # http protocol over TLS/SSL
> ftps-data 989/tcp # FTP over SSL (data)
> ftps 990/tcp
> http-alt 8080/tcp webcache # WWW caching service
> http-alt 8080/udp
> EOM
/ # guix pull
accepted connection from pid 27, user root
spurious SIGPOLL
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.0 MB will be downloaded:
/gnu/store/3njq6g90av2yvw7a597sc5hwasrqihw2-le-certs-0
downloading from https://ci.guix.gnu.org/nar/gzip/3njq6g90av2yvw7a597sc5hwasrqihw2-le-certs-0...
le-certs-0 4KiB 645KiB/s 00:00 [##################] 100.0%
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
guix https://git.savannah.gnu.org/git/guix.git f6e031a
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/l1iakyjw5lacjbnynm6z7b31clyh1llx-ghostscript-9.27-doc...
ghostscript-9.27-doc 3.3MiB
[..]
New in this revision:
2,039 new packages: abe, ableton-link, ada-ed, akku, altermime, android-libcutils, android-liblog, antlr4, anubis,
apache-thrift, apt-mirror, armips, …
3,569 packages upgraded: [email protected], [email protected], [email protected], acpica@20200925,
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected],
[email protected], …
hint: Run `guix pull --news' to read all the news.
/ #
/ # cd tmp
/tmp # /busybox wget https://raw.githubusercontent.com/giuliano108/guix-packages/master/systems/wsl-config.scm
Connecting to raw.githubusercontent.com (151.101.16.133:443)
wget: note: TLS certificate validation not implemented
saving to 'wsl-config.scm'
wsl-config.scm 100% |******************************************************************************************| 3232 0:00:00 ETA
'wsl-config.scm' saved
/tmp #
/tmp # guix system reconfigure --no-bootloader wsl-config.scm
[..]
/gnu/store/vrqars6kr7534wdcw9p0032ngahma6px-system
/gnu/store/lbqnb3dl0rwl07ip27afdvpflr83djgg-dummybootloader
activating system...
substitute: guix substitute: warning: ci.guix.gnu.org: connection failed: Connection timed out
The following derivations will be built:
/gnu/store/xmcmrbmrhpin8nq7hh7nmylibvr1ssx1-switch-to-system.scm.drv
/gnu/store/j5nfji378c49k2aa33z6d07na513ggi6-module-import.drv
/gnu/store/v3vnpy4dihgz020n0b6b2wciyl1sx586-module-import-compiled.drv
building /gnu/store/j5nfji378c49k2aa33z6d07na513ggi6-module-import.drv...
building /gnu/store/v3vnpy4dihgz020n0b6b2wciyl1sx586-module-import-compiled.drv...
building /gnu/store/xmcmrbmrhpin8nq7hh7nmylibvr1ssx1-switch-to-system.scm.drv...
making '/gnu/store/vrqars6kr7534wdcw9p0032ngahma6px-system' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/yzb7bwpaw3wicqq1g4228c3nprw2my3l-etc...
Please wait while gathering entropy to generate the key pair;
this may take time...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.0 MB will be downloaded
downloading from https://ci.guix.gnu.org/nar/lzip/q9wrh0rrhq3sy3n2i6m73ijql7a1m2nm-module-import-compiled ...
module-import-compiled 24KiB 790KiB/s 00:00 [##################] 100.0%
guix system: warning: while talking to shepherd: No such file or directory
/tmp #
thanks for reply. I will try from scratch next week and see if I messed up in some step.
Strange error though. Do you know why it would not be able to find