Re: unbound variable in attempt to install cinnamon-desktop

2023-05-11 Thread Gottfried

Hi,

This is written in the manual



Because the GNOME, Xfce and MATE desktop services pull in so many 
packages, the default %desktop-services variable doesn’t include any of 
them by default. To add GNOME, Xfce or MATE, just cons them onto 
%desktop-services in the services field of your operating-system:


(use-modules (gnu))
(use-service-modules desktop)
(operating-system
  ...
  ;; cons* adds items to the list given as its last argument.
  (services (cons* (service gnome-desktop-service-type)
   (service xfce-desktop-service)
   %desktop-services))
  ...)

These desktop environments will then be available as options in the 
graphical login window.

---

but my config.scm looks differently concerning MATE desktop.


 (services
(append
  (list (service mate-desktop-service-type)
(service enlightenment-desktop-service-type)
(service cinnamon-desktop-service-type)
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions (list cups-filters 
hplip >

(service openssh-service-type)
(service tor-service-type)
(set-xorg-configuration
  (xorg-configuration
   (keyboard-layout keyboard-layout)))
(service libvirt-service-type
 (libvirt-configuration
  (unix-sock-group "libvirt")
  (tls-port "16555")))
(service virtlog-service-type
 (virtlog-configuration
  (max-clients 1000

   (modify-services %desktop-services
 (guix-service-type
config => (guix-configuration
  (inherit config)
  (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes>

 (sane-service-type _ => sane-backends


that’s why I simply added one line for the cinnamon-desktop
hoping it will work.
But it doesn’t work.

Kind regards

Gottfried



Am 11.05.23 um 13:35 schrieb Marek Paśnikowski:

Fehler: cinnamon-desktop-service-type: Nicht gebundene Variable


Perfect.

You need to include the module implementing the Cinnamon desktop /service/.
It does not appear to be defined anywhere in GUIX.

Did you add a channel with a Cinnamon service
or just assumed it exists in GUIX?


--


OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: unbound variable in attempt to install cinnamon-desktop

2023-05-11 Thread Gottfried

Hi,

Am 11.05.23 um 13:35 schrieb Marek Paśnikowski:

Fehler: cinnamon-desktop-service-type: Nicht gebundene Variable


Perfect.

You need to include the module implementing the Cinnamon desktop /service/.
It does not appear to be defined anywhere in GUIX.

Did you add a channel with a Cinnamon service
or just assumed it exists in GUIX?


I don’t know what to add, becaus for the MATE desktop there seems to me
is only one line..
So I guessed that for cinnamon desktop there is also only one line to add.

I don’t know what I have to add in order to get the cinnamon desktop 
available.



 config.scm 


;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)

(operating-system
  (locale "de_DE.utf8")
  (timezone "Europe/Berlin")
  (keyboard-layout (keyboard-layout "de"))
  (host-name "Tuxedo")
  (users (cons* (user-account
  (name "gfp")
  (comment "Gfp")
  (group "users")
  (home-directory "/home/gfp")
  (supplementary-groups
'("wheel" "netdev" "audio" "video" "libvirt")))
%base-user-accounts))
  (packages
(append
  (list (specification->package "nss-certs"))
  %base-packages))
  (services
(append
  (list (service mate-desktop-service-type)
(service enlightenment-desktop-service-type)
(service cinnamon-desktop-service-type)
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions (list cups-filters 
hplip

(service openssh-service-type)
(service tor-service-type)
(set-xorg-configuration
  (xorg-configuration
   (keyboard-layout keyboard-layout)))
(service libvirt-service-type 


 (libvirt-configuration
  (unix-sock-group "libvirt")
  (tls-port "16555")))
(service virtlog-service-type
 (virtlog-configuration
  (max-clients 1000

   (modify-services %desktop-services
 (guix-service-type
config => (guix-configuration
  (inherit config)
  (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes"

 (sane-service-type _ => sane-backends

  (bootloader
(bootloader-configuration
  (bootloader grub-efi-bootloader)
  (targets (list "/boot/efi"))
  (keyboard-layout keyboard-layout)))
  (swap-devices
   (list (swap-space
  (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")
  (file-systems
(cons* (file-system
 (mount-point "/boot/efi")
 (device (uuid "BB77-FE3B" 'fat32))
 (type "vfat"))
   (file-system
 (mount-point "/")
 (device
   (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
 'ext4))
 (type "ext4"))
   %base-file-systems))
  (initrd-modules (cons "virtio_scsi"; Needed to find the disk
%base-initrd-modules)))



--
Kind regards

Gottfried




OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: unbound variable in attempt to install cinnamon-desktop

2023-05-11 Thread Marek Paśnikowski
> Fehler: cinnamon-desktop-service-type: Nicht gebundene Variable

Perfect.

You need to include the module implementing the Cinnamon desktop /service/.
It does not appear to be defined anywhere in GUIX.

Did you add a channel with a Cinnamon service
or just assumed it exists in GUIX?



Re: unbound variable in attempt to install cinnamon-desktop

2023-05-11 Thread Gottfried

Hi,

Am 11.05.23 um 13:20 schrieb Marek Paśnikowski:

Which variable is not bound?

The error is indicative of a missing module,
but without knowing which variable is unbound,
I can not tell anything more.


this is the output of:

gfp@Tuxedo ~$  sudo guix system reconfigure /etc/config.scm
Passwort:
Backtrace:
  18 (primitive-load "/home/gfp/.config/guix/current/bin/guix")
In guix/ui.scm:
   2300:7 17 (run-guix . _)
  2263:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
859:3 14 (_)
839:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1277:4 12 (_)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   659:37 10 (thunk)
   1298:8  9 (call-with-build-handler # …)
  2168:25  8 (run-with-store # …)
In guix/scripts/system.scm:
843:2  7 (_ _)
717:8  6 (_ #)
In gnu/system.scm:
  1298:19  5 (operating-system-derivation _)
   835:11  4 (operating-system-services #< kernel:…>)
   869:20  3 (services _)
In /etc/config.scm:
29:21  2 (services #< kernel: #)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Fehler: cinnamon-desktop-service-type: Nicht gebundene Variable
Mistake:   not bound variable


I hope this helps


Kind regards

Gottfried




OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: unbound variable in attempt to install cinnamon-desktop

2023-05-11 Thread Marek Paśnikowski
Which variable is not bound?

The error is indicative of a missing module,
but without knowing which variable is unbound,
I can not tell anything more.