help-guix
[Top][All Lists]
Advanced

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

Re: Original config from a documentation causes an error with keyboard-l


From: Adam Mazurkiewicz
Subject: Re: Original config from a documentation causes an error with keyboard-layout function
Date: Wed, 8 May 2019 10:02:22 +0200

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

address@hidden ~# 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.
address@hidden ~# 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)
address@hidden ~# cp /root/sda6/home/s/Dropbox/Guix/scm1/config.scm /mnt/etc/
address@hidden ~# herd start cow-store /mnt
Service cow-store has been started.
address@hidden ~# guix system init /mnt/etc/config.scm /mnt/
/mnt/etc/config.scm:5:0: error: extraneous field initializers
(keyboard-layout)
address@hidden ~# guix describe
guix describe: error: failed to determine origin
address@hidden ~#



śr., 8 maj 2019 o 08:46 swedebugia <address@hidden> 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
>
>


reply via email to

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