unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to remove extension from service definition?
@ 2021-03-09 17:46 znavko--- via
  2021-03-19 13:07 ` Joshua Branson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: znavko--- via @ 2021-03-09 17:46 UTC (permalink / raw)
  To: help-guix

Hello! I wish to remove network-manager-applet extension from
profile-service-type 
which is in the list of extensions of
xfce-desktop-service-type [1] and [2]

And also I want to see the result.

I try it unsuccessfully like this:

$ guile
> (use-modules (gnu) (gnu services) (gnu services desktop) (srfi srfi-1))
> xfce-desktop-service-type
$1 = #<service-type xfce-desktop 7f6c0a4b1000>
> (remove (lambda (service) (eq? (service-kind service) profile-service-type)) xfce-desktop-service-type)
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure remove: Wrong type argument in position 2: #<service-type xfce-desktop 7f6c0a4b1000>

Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
Also I cannot remove service from %desktop-services asI usually do in config.scm:
> (remove (lambda (service) (member (service-kind service) (list network-manager-service-type bluetooth-service))) %desktop-services)
;;; <stdin>:19:57: warning: possibly unbound variable `network-manager-service-type'
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
error: network-manager-service-type: unbound variable
Can you show me how ot interact with guile ? And how to remove service extensionsand also 
how to look at xfce-desktop-service-type contents?
[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260 (https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1260)
[2] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1004 (https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1004)

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

end of thread, other threads:[~2021-03-21  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 17:46 How to remove extension from service definition? znavko--- via
2021-03-19 13:07 ` Joshua Branson
2021-03-20 17:57 ` znavko
2021-03-21  1:08 ` jbranso

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