From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UHAKEjaFG2eO/wAA62LTzQ:P1 (envelope-from ) for ; Fri, 25 Oct 2024 11:47:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UHAKEjaFG2eO/wAA62LTzQ (envelope-from ) for ; Fri, 25 Oct 2024 13:47:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ebM1Zt5t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729856822; a=rsa-sha256; cv=none; b=qj3t0pmBtER1gIM91ObZAqyXpfOSucW1m5U/44tJMV+FgbCUg1y5jdBqeXX+Zr2pf0odDo WqsDYbsoZ/FfbdKD0haCrn2OaEeP+LEoZS/f5pzINPMQX68HP/SMB6VjpWMg240zxckHMY ywRxGpyi3uuwbc0ro6TgnvZqDJQUuzZuDhpynD2eIAwr1dH/t6R1fmRw0lBlils31v8F4h LfzPGvZH4yAzPm92UGM49etr9ExX12cLnjPY9o0N5RZ4GtCr7mkDyTUvbQZb2gY2c79cdg kwHl/S+saSwCJJZq5g5uV7mH1BLHpVxfy3OCHQ+ykNuy8VxbAA56vbQEylD+Sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ebM1Zt5t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729856822; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zBgxt6MFRi7FTcmXNvNf1FhI6MINPetE31CIu5m7w1g=; b=rPsH7bG09SyL9sIyuPaGJ+t5LtTztAhJ8Urb53dJNL5M/lpKy3XNJ2gVMhJ+6bTH42UjTH /BF4V+8slzSibkh/aKwEhKsd4aViDXNIJ6E2UDpd+1GSpBzpq2DNFQVPb5KrdgD/IRwNEo WuapRKkRVzXGwqJP/tN6cFEkagfYug5aj6vn/qZk8WTqrt04eiqPSI9gS7nq0PVhg6QEVD /FTVaKj3EEx5EHC+sBTG6vQPjwrc/CTp//rA8jz06qTrQ8E6t9kq8Oau6kQ+qxsRGiuZsL rlAxyf1NOQ1X4AuP9A/R8Jjc/Gghg0Rnh+PUz9dxViu8nyn8WDLwseFzLEFJvg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E03F88D01B for ; Fri, 25 Oct 2024 13:47:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4Ilo-0006US-En; Fri, 25 Oct 2024 07:46:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4Ili-0006Tp-Gv for help-guix@gnu.org; Fri, 25 Oct 2024 07:46:14 -0400 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t4Ile-0002vq-OQ for help-guix@gnu.org; Fri, 25 Oct 2024 07:46:12 -0400 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5c96df52c52so2549933a12.1 for ; Fri, 25 Oct 2024 04:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729856767; x=1730461567; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=zBgxt6MFRi7FTcmXNvNf1FhI6MINPetE31CIu5m7w1g=; b=ebM1Zt5tl+whs+93gtiGVCrXdlzQOww2SJ12kKZW21u9ylfhar4xa3YyiFkvAgFOvy pBFnvRWoZKDc8kwqNQkBT68rbddFtYWsHT7Xe7qnefPEMFvCY07G7lTLhh0T9RHOoeua Gd9uOiiJQPrs120IKaAaV2cGI76Rsk+VpIzNELtg3XZ+YTBx/mujTvqKEiHEIs8IRb01 mfly3x/9IyvxFITUOYQxLD5Qc+X+zc3821JpYz/kNO4GtFveDqTMbNzk0ElUj7yZ9Y73 WHRozMb4KVl+QqsUpLFrfXTozv8B8m5mmpiH4/GxzkoBEcstsWneEZRCL+zJ4d3Uhhf6 t05Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729856767; x=1730461567; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zBgxt6MFRi7FTcmXNvNf1FhI6MINPetE31CIu5m7w1g=; b=eDvtqwbYs9WqVwx5Uq6GCyScDZdwVteRHncQe6KIPaxxvLm1QD9vmZWakSPFHaNWSh BneB0Ph/CoQaV/YA4mMVxgqk1mrer+UpTpcjsWc6P1e/QEUjVyuj4qxtZUkQZYYWICx0 8zUFfB3VR8t+1thyeHRMNRlt2T1z7m5ms0mB52LeQmXjsWKfy0zMkwu3mtVgjX1xqDPf 2n9vVoCXxJiantcLwUGZ6DFbOjozezzIYLhqO9WCovYTbmfRNl8wWbIO+vFJNtwV0QKh WiIivx2OpSKQYX39kUT4DGUOhY4yjCK5XIaJ1BzNUQgcWkGUEVCxYnaQ80jZOU8HVP8L eKbw== X-Gm-Message-State: AOJu0Yw/MeBDFivlol+UzUus6+lbYlgOgpFs/DtaUJ6GlIDGVdjBo6qu n4X2PePXZFeZeB52U8/UiS4GYwGQ5wJKVPuypFCbIkIc2mUmvxcQdSuZZw== X-Google-Smtp-Source: AGHT+IE5Gp3nb4d7SSPp1ZrHiXWlRWwHztrx1z0zSFLaB31MFgQnP4CcQ1ubNs5PL5NWv9RPqS7VIw== X-Received: by 2002:a17:907:1a4a:b0:a9a:ce80:b08e with SMTP id a640c23a62f3a-a9ace80bcb2mr321598266b.65.1729856766947; Fri, 25 Oct 2024 04:46:06 -0700 (PDT) Received: from julian ([2a02:c7c:c11b:7600:ca4b:4d3e:a48:468e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4318b55f689sm46159455e9.16.2024.10.25.04.46.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2024 04:46:06 -0700 (PDT) From: Lee Thompson To: help-guix@gnu.org Subject: Trouble installing bind using home-configuration.scm/config.scm Date: Fri, 25 Oct 2024 12:46:05 +0100 Message-ID: <87bjz8wgle.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=lee.p.thomp@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.53 X-Spam-Score: -1.53 X-Migadu-Queue-Id: E03F88D01B X-Migadu-Scanner: mx12.migadu.com X-TUID: DCPHdQXbTFk6 I'm having trouble installing the `bind' package declaratively. Running `guix show bind' returns the bind package, but when I add `(gnu packages dns)' to my home-configuration.scm and the bind package to `packages' like so I run into an exception during reconfiguration: > (use-modules (gnu home) > (gnu home services) > (gnu packages) > =E2=80=A6 > (gnu packages dns)) >=20 > (home-environment > (packages (list =E2=80=A6 > bind > =E2=80=A6))) > (services =E2=80=A6) After running `guix home reconfigure ~/.config/guix-config/home-configuration.scm': > =E2=80=A6 > In gnu/home/services.scm: > 167:37 8 (_ #) > In guix/profiles.scm: > 439:4 7 (packages->manifest _) > In srfi/srfi-1.scm: > 586:29 6 (map1 (# =E2=80=A6)) > 586:17 5 (map1 (# # =E2=80=A6)) > In guix/inferior.scm: > 560:2 4 (loop # "out" #<=E2= =80=A6>) > 540:4 3 (inferior-package-input-field # =E2=80=A6) > 484:18 2 (inferior-package-field # =E2=80=A6) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) >=20 > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 (expecting = struct): # It looks pretty obvious that this is having some interaction with the standard Guile `bind' procedure. Is this intended behaviour? I can imagine using `specification->package' could get around this but I wanted to hear some other opinions. Also while looking into this I found this section of the info manual that talks about an `isc-bind' package I've been unable to get Guix to find; is this a former name of the current `bind' package? Relevant info section: > Globally-Visible Packages > ------------------------- >=20 > The =E2=80=98packages=E2=80=99 field lists packages that will be globally= visible on the > system, for all user accounts=E2=80=94i.e., in every user=E2=80=99s =E2= =80=98PATH=E2=80=99 environment > variable=E2=80=94in addition to the per-user profiles (*note Invoking guix > package::). The =E2=80=98%base-packages=E2=80=99 variable provides all t= he tools one > would expect for basic user and administrator tasks=E2=80=94including the= GNU > Core Utilities, the GNU Networking Utilities, the =E2=80=98mg=E2=80=99 li= ghtweight text > editor, =E2=80=98find=E2=80=99, =E2=80=98grep=E2=80=99, etc. The example= above adds GNU Screen to > those, taken from the =E2=80=98(gnu packages screen)=E2=80=99 module (*no= te Package > Modules::). The =E2=80=98(list package output)=E2=80=99 syntax can be us= ed to add a > specific output of a package: >=20 > (use-modules (gnu packages)) > (use-modules (gnu packages dns)) >=20 > (operating-system > ;; ... > (packages (cons (list isc-bind "utils") > %base-packages)))