unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Morgan Smith <Morgan.J.Smith@outlook.com>
To: 65510@debbugs.gnu.org
Cc: paren@disroot.org, andrew@trop.in, ludo@gnu.org
Subject: bug#65510: Errors trying to use home-dicod-service-type and home-syncthing-service-type
Date: Thu, 24 Aug 2023 14:39:26 -0400	[thread overview]
Message-ID: <DM5PR03MB31638956F1FD00766F595BD5C51DA@DM5PR03MB3163.namprd03.prod.outlook.com> (raw)

Hello guix!

Thank you Ludovic for adding a way to map system services to home
services!  This is very exciting.  However, I can't seem to use some of
those services.

Take a look at this minimal example home configuration:

--8<---------------cut here---------------start------------->8---
(use-modules (gnu services)
             (gnu home services dict)
             (gnu home services syncthing)
             (gnu home services mcron))

(home-environment
 (services
  (list
   ;; guix home: error: no target of type 'system' for service 'profile'
   (service home-dicod-service-type)
   ;; guix home: error: no target of type 'system' for service 'profile'
   (service home-syncthing-service-type)
   ;; works great!
   (service home-mcron-service-type))))
--8<---------------cut here---------------end--------------->8---

Am I doing something wrong?  Both the dicod and syncthing services give
me an error when running "guix home build".  The mcron service works
fine though even though it is built using the same "for-home" stuff.

I'm not that comfortable with debugging services and I don't really know
where to start.

I used the "guix repl" to print out "(service home-dicod-service-type)"
and got this:

--8<---------------cut here---------------start------------->8---
$1 = #<<service> type: #<service-type home-dict 7f16dd2e3600> value: #<<dicod-configuration> dico: #<package dico@2.11 gnu/packages/dico.scm:41 7f16dd2e9210> interfaces: ("localhost") handlers: () databases: (#<<dicod-database> name: "gcide" handler: "gcide" complex?: #f options: (#<gexp (string-append "dbdir=" #<gexp-input #<package gcide@0.53 gnu/packages/dictionaries.scm:114 7f16de0644d0>:out> "/share/gcide") gnu/services/dict.scm:94:18 7f16dc110150> #<gexp (string-append "idxdir=" #<gexp-input #<<computed-file> name: "dicod-gcide-index" gexp: #<gexp (begin (use-modules (guix build utils)) (mkdir #<gexp-output out>) (invoke #<gexp-input native #<file-append #<package dico@2.11 gnu/packages/dico.scm:41 7f16dd2e9210> "/libexec/idxgcide">:out> #<gexp-input native #<file-append #<package gcide@0.53 gnu/packages/dictionaries.scm:114 7f16de0644d0> "/share/gcide">:out> #<gexp-output out>)) gnu/services/dict.scm:83:19 7f16dc1101b0> guile: #f options: (#:local-build? #t)>:out>) gnu/services/dict.scm:95:18 7f16dc110120>)>) home-service?: #t>>
--8<---------------cut here---------------end--------------->8---




             reply	other threads:[~2023-08-24 19:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 18:39 Morgan Smith [this message]
2023-08-29  9:34 ` bug#65510: Errors trying to use home-dicod-service-type and home-syncthing-service-type Ludovic Courtès
2023-08-29 10:30 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR03MB31638956F1FD00766F595BD5C51DA@DM5PR03MB3163.namprd03.prod.outlook.com \
    --to=morgan.j.smith@outlook.com \
    --cc=65510@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=ludo@gnu.org \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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