all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* unbound variable in attempt to install cinnamon-desktop
@ 2023-05-11 11:05 Gottfried
  2023-05-11 11:20 ` Marek Paśnikowski
  0 siblings, 1 reply; 6+ messages in thread
From: Gottfried @ 2023-05-11 11:05 UTC (permalink / raw)
  To: help-guix


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


Hi,

1.
I wanted to install cinnamon-desktop
but sudo guix system config /etc/config.scm
says:

not bound variable

So I have to add some in my config.scm.

but what?
-------------------------------------------------------------
  (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
             (service cinnamon-desktop-service-type)
-------------------------------------------------------------

2.
I can’t install "lightdm" because of conflicting packages,
because I can’t update beforehand
my default profile with guix package -u

So everything is blocked at the moment.



Kind regards

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] 6+ messages in thread

* Re: unbound variable in attempt to install cinnamon-desktop
  2023-05-11 11:05 unbound variable in attempt to install cinnamon-desktop Gottfried
@ 2023-05-11 11:20 ` Marek Paśnikowski
  2023-05-11 11:23   ` Gottfried
  0 siblings, 1 reply; 6+ messages in thread
From: Marek Paśnikowski @ 2023-05-11 11:20 UTC (permalink / raw)
  To: Gottfried; +Cc: help-guix

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.


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

* Re: unbound variable in attempt to install cinnamon-desktop
  2023-05-11 11:20 ` Marek Paśnikowski
@ 2023-05-11 11:23   ` Gottfried
  2023-05-11 11:35     ` Marek Paśnikowski
  0 siblings, 1 reply; 6+ messages in thread
From: Gottfried @ 2023-05-11 11:23 UTC (permalink / raw)
  To: Marek Paśnikowski, help-guix


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

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 #<procedure 7f982194af90 at g…> …)
   2168:25  8 (run-with-store #<store-connection 256.99 7f9822484e60> …)
In guix/scripts/system.scm:
     843:2  7 (_ _)
     717:8  6 (_ #<store-connection 256.99 7f9822484e60>)
In gnu/system.scm:
   1298:19  5 (operating-system-derivation _)
    835:11  4 (operating-system-services #<<operating-system> kernel:…>)
    869:20  3 (services _)
In /etc/config.scm:
     29:21  2 (services #<<operating-system> kernel: #<package linux-…>)
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



[-- 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] 6+ messages in thread

* Re: unbound variable in attempt to install cinnamon-desktop
  2023-05-11 11:23   ` Gottfried
@ 2023-05-11 11:35     ` Marek Paśnikowski
  2023-05-11 11:42       ` Gottfried
  2023-05-11 12:10       ` Gottfried
  0 siblings, 2 replies; 6+ messages in thread
From: Marek Paśnikowski @ 2023-05-11 11:35 UTC (permalink / raw)
  To: Gottfried; +Cc: help-guix

> 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?


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

* Re: unbound variable in attempt to install cinnamon-desktop
  2023-05-11 11:35     ` Marek Paśnikowski
@ 2023-05-11 11:42       ` Gottfried
  2023-05-11 12:10       ` Gottfried
  1 sibling, 0 replies; 6+ messages in thread
From: Gottfried @ 2023-05-11 11:42 UTC (permalink / raw)
  To: Marek Paśnikowski, help-guix


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

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



[-- 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] 6+ messages in thread

* Re: unbound variable in attempt to install cinnamon-desktop
  2023-05-11 11:35     ` Marek Paśnikowski
  2023-05-11 11:42       ` Gottfried
@ 2023-05-11 12:10       ` Gottfried
  1 sibling, 0 replies; 6+ messages in thread
From: Gottfried @ 2023-05-11 12:10 UTC (permalink / raw)
  To: Marek Paśnikowski; +Cc: help-guix


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

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?

-- 

[-- 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] 6+ messages in thread

end of thread, other threads:[~2023-05-11 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11 11:05 unbound variable in attempt to install cinnamon-desktop Gottfried
2023-05-11 11:20 ` Marek Paśnikowski
2023-05-11 11:23   ` Gottfried
2023-05-11 11:35     ` Marek Paśnikowski
2023-05-11 11:42       ` Gottfried
2023-05-11 12:10       ` Gottfried

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.