unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* messages in updating my config.scm
@ 2022-08-04 16:40 Gottfried
  2022-08-04 16:43 ` (
  0 siblings, 1 reply; 2+ messages in thread
From: Gottfried @ 2022-08-04 16:40 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 868 bytes --]


Hi Guixers,
when doing a

sudo guix system reconfigure /etc/config.scm

it gives me two messages:

/etc/config.scm:49:14: Warnung: the 'target' field is deprecated, please 
use 'targets' instead
/etc/config.scm:8:0: Warnung: Elemente der Liste im Feld „swap-devices“ 
sollten nun über das Verbundsobjekt <swap-space> definiert werden, denn 
die alte Methode ist veraltet. Siehe 
"(guix.de)„operating-system“-Referenz" für mehr Informationen.

Do I understand it right,
that instead of "target" I should change it into "targets" in:

(bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")

and
instead of "swap-devices"

(swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))

I should change into:
"swap-space"
in my config.scm file?


Gottfried


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

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

* Re: messages in updating my config.scm
  2022-08-04 16:40 messages in updating my config.scm Gottfried
@ 2022-08-04 16:43 ` (
  0 siblings, 0 replies; 2+ messages in thread
From: ( @ 2022-08-04 16:43 UTC (permalink / raw)
  To: Gottfried, help-guix

On Thu Aug 4, 2022 at 5:40 PM BST, Gottfried wrote:
> (bootloader
>      (bootloader-configuration
>        (bootloader grub-efi-bootloader)
>        (target "/boot/efi")
You'll want to just change this to:

(bootloader
 (bootloader-configuration
  (bootloader grub-efi-bootloader)
  (targets (list "/boot/efi"))))

> (swap-devices
>      (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
and this to:

(swap-devices
 (list (swap-space
        (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))))

    -- (


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

end of thread, other threads:[~2022-08-04 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 16:40 messages in updating my config.scm Gottfried
2022-08-04 16:43 ` (

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