From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CIgZJKrjeV8fNQAA0tVLHw (envelope-from ) for ; Sun, 04 Oct 2020 15:00:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UMfmH6rjeV8/LAAA1q6Kng (envelope-from ) for ; Sun, 04 Oct 2020 15:00:58 +0000 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 E55D994060F for ; Sun, 4 Oct 2020 15:00:57 +0000 (UTC) Received: from localhost ([::1]:52714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP5VQ-0002Jc-Pz for larch@yhetil.org; Sun, 04 Oct 2020 11:00:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP5V8-0002GU-K2 for help-guix@gnu.org; Sun, 04 Oct 2020 11:00:39 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:46304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP5V2-0001iv-9B for help-guix@gnu.org; Sun, 04 Oct 2020 11:00:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=K3a4tlP80Xsst/FXp7o+t7DsLXCqgTWTK1UN1NW4JuY=; h=date:in-reply-to: references:subject:cc:to:from; b=cDVTfHcX7Cz2IYCvFPh0BDQ9bFYTVdWEBzpEf oV37FENSKU7rNXmuyxB9sjsvHe8iPEHdF4yE8JNsnM2zOeSTS+h4shlFK8snRsQdURsw+j U81zTiyYMeUCFen6V903T8al/ewJOXkp4iLzH9QUgp2YakanYQMs2c7/1izarlBOmMUXtM SFazymQJvq0/wxFSldz5YYdNitH5Yb4nj8Mr8zuN7QWA1tRsmYzzEkcFbrcXxw6c738OQM rwFzu3Uxs2WAoz3h1pN0kXLzqutjig/X/gH0soUEucdHDK7+4dPkMQQa7sx33XwQHypxYA AG3agEKrYvD47VrCzoVjn8bBg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 107a01f9 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sun, 4 Oct 2020 15:00:33 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Stefan Huchler Cc: help-guix@gnu.org Subject: Re: define udev-service-type fails with "did you forget to import.." error References: <87blhq6hi9.fsf@mail.de> <87mu18659m.fsf@gnu.org> <8736305z7o.fsf@mail.de> <87pn5y1dyc.fsf@elephly.net> <87pn5y13d6.fsf@mail.de> In-reply-to: <87pn5y13d6.fsf@mail.de> Message-ID: <87imbq9gtz.fsf@nckx> Date: Sun, 04 Oct 2020 17:00:24 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, SPF_HELO_PASS=-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.23 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=cDVTfHcX; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -3.31 X-TUID: yHY0X+uYlNih --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Stefan, Stefan Huchler =E5=86=99=E9=81=93=EF=BC=9A > When I try to redefine the udev-service like described in [0] [...] > I get following error: /etc/config.scm: [...] That's not what [0] describes, is it? It illustrates some service=20 concepts, using real code as example. It doesn't imply that the example code can or should be added to a=20 system configuration. >> That module does not export udev-shepherd-service AFAICT. > And which does, Nobody: (gnu services base) defines udev-shepherd-service but does=20 not export it. It's not intended to be API, nor do I think it=20 needs to be. You might be able to use (@@ (gnu services base)=20 udev-shepherd-service), which forces the module to give up its=20 secrets. It's not good style, and it won't always work but often=20 does. > and why does guix cli interface claim it would do that, > with it's hint? Because it's naive. See and -=20 please! - beat me to a fix ;-) Kind regards, T G-R [0]:=20 https://guix.gnu.org/manual/en/html_node/Service-Types-and-Services.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX3njiA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15hiIBALnHj8sRqqooU50w9Guf1iSUdsKkXdD/oO0ZVdkm Y0YhAQCndAzrNw94uX7tOHE8hOKzQ8UCQfdIztL5cI6RNWIgBA== =QOLF -----END PGP SIGNATURE----- --=-=-=--