From: Adam Mazurkiewicz <trzczy@gmail.com>
To: help-guix@gnu.org
Subject: Re: Original config from a documentation causes an error with keyboard-layout function
Date: Wed, 8 May 2019 10:02:22 +0200 [thread overview]
Message-ID: <CALStFoF5UCDKyzUAUv6HkmPAE-kqSnMXtK_yh17U5yK2fUdZRA@mail.gmail.com> (raw)
In-Reply-To: <07e21327-7a4f-a521-d9f3-9c10b8d857d4@riseup.net>
I processed the installation try from usb flash stick. First I formatted a
target partition for the new Guixsd instance with ext4 and labeled it
guixsd. Then I did that follows and put 'guix describe':
root@gnu ~# ifconfig enp2s0 up && \
> dhclient enp2s0 -v
[ 173.423231] RTL8211B Gigabit Ethernet r8169-200:00: attached PHY driver
[RTL8211B Gigabit Ethernet] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[ 173.524320] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
enp2s0 Link encap:Ethernet HWaddr 00:23:54:60:DA:20
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[ 173.525924] r8169 0000:02:00.0 enp2s0: Link is Down
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/enp2s0/00:23:54:60:da:20
Sending on LPF/enp2s0/00:23:54:60:da:20
Sending on Socket/fallback
DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 6
[ 175.062429] r8169 0000:02:00.0 enp2s0: Link is Up - 100Mbps/Full - flow
control off
[ 175.062723] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 12
DHCPOFFER of 192.168.0.6 from 192.168.0.1
DHCPREQUEST for 192.168.0.6 on enp2s0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.6 from 192.168.0.1
bound to 192.168.0.6 -- renewal in 266 seconds.
root@gnu ~# mount /dev/disk/by-label/guixsd /mnt && \
> mkdir /mnt/etc
[ 240.335408] EXT4-fs (sda1): recovery complete
[ 240.337345] EXT4-fs (sda1): mounted filesystem with ordered data mode.
Opts: (null)
root@gnu ~# cp /root/sda6/home/s/Dropbox/Guix/scm1/config.scm /mnt/etc/
root@gnu ~# herd start cow-store /mnt
Service cow-store has been started.
root@gnu ~# guix system init /mnt/etc/config.scm /mnt/
/mnt/etc/config.scm:5:0: error: extraneous field initializers
(keyboard-layout)
root@gnu ~# guix describe
guix describe: error: failed to determine origin
root@gnu ~#
śr., 8 maj 2019 o 08:46 swedebugia <swedebugia@riseup.net> napisał(a):
> On 2019-05-08 07:00, Adam Mazurkiewicz wrote:
> ...
>
> >
> > Using this file caused the error:
> > /root/sda6/home/s/Dropbox/Guix/scm1/config.scm:5:0: error: extraneous
> field
> > initializers (keyboard-layout)
> >
> > So it is something wrong with the keyboard-layout function. The function
> is
> > used a few times so we do not know which one actually causes the error.
> >
> > Is this the documentation mistake or I am doing something wrong? How to
> use
> > the function keyboard-layout properly?
> >
>
> Could you add the output of "guix describe"?
> How did you install guix?
>
> --
> Cheers
> Swedebugia
>
>
next prev parent reply other threads:[~2019-05-08 8:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-08 5:00 Original config from a documentation causes an error with keyboard-layout function Adam Mazurkiewicz
2019-05-08 6:46 ` swedebugia
2019-05-08 8:02 ` Adam Mazurkiewicz [this message]
2019-05-08 12:57 ` Ludovic Courtès
2019-05-11 0:32 ` Adam Mazurkiewicz
2019-05-08 9:01 ` Ricardo Wurmus
2019-05-08 10:28 ` Adam Mazurkiewicz
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=CALStFoF5UCDKyzUAUv6HkmPAE-kqSnMXtK_yh17U5yK2fUdZRA@mail.gmail.com \
--to=trzczy@gmail.com \
--cc=help-guix@gnu.org \
/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).