all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Lee Thompson <lee.p.thomp@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Trouble installing bind using home-configuration.scm/config.scm
Date: Fri, 25 Oct 2024 13:55:54 +0200	[thread overview]
Message-ID: <ZxuHSlroClfvLjdI@jurong> (raw)
In-Reply-To: <87bjz8wgle.fsf@gmail.com>

Hello,

Am Fri, Oct 25, 2024 at 12:46:05PM +0100 schrieb Lee Thompson:
> > (home-environment
> >   (packages (list …
> >                   bind
> >                   …)))
> >   (services …)

you need to distinguish the name of a package, as given as a string in its
name field and used on the command line, and the variable name used inside
the Guile code of Guix. Usually, they are the same. But when you do
"guix edit bind":
(define-public isc-bind
  (package
    (name "bind")
...
Supposedly this is due to the name clash with an already existing Guile
procedure you mention.

So either use the varible name isc-bind in your code, or
(specification->package "bind")

Andreas



  reply	other threads:[~2024-10-25 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25 11:46 Trouble installing bind using home-configuration.scm/config.scm Lee Thompson
2024-10-25 11:55 ` Andreas Enge [this message]
2024-10-25 12:28 ` Tobias Geerinckx-Rice

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

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

  git send-email \
    --in-reply-to=ZxuHSlroClfvLjdI@jurong \
    --to=andreas@enge.fr \
    --cc=help-guix@gnu.org \
    --cc=lee.p.thomp@gmail.com \
    /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 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.