help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Udev Rule Not Triggered


From: Antwane Mason
Subject: Re: Udev Rule Not Triggered
Date: Tue, 31 Aug 2021 17:59:02 -0400

Thanks Tobias for pointing out those problems! That should help in getting
to the root of what the problem originally was.
On Sun, Aug 29, 2021 at 6:17 PM Tobias Geerinckx-Rice <me@tobias.gr> wrote:

> Antwane,
>
> Great that you got it to work!  There are some landmines left that I'd
> like to point out so they don't bite you later (what? they're
> mixed-metaphor cartoon landmines!):
>
> On 2021-08-29 16:01, Antwane Mason wrote:
> >> should use string-join instead of string-append
> >
> > Thanks for the suggestion, but I know that use of string-append is
> > correct
> > based on example code from
> > https://guix.gnu.org/manual/en/html_node/Base-Services.html.
>
> Yes, but *your* use of it isn't. :-)  You didn't add any newlines so
> everything ends up on one line, which can't work [well].
>
> > (uri
> > "
> https://raw.githubusercontent.com/M0Rf30/https://raw.githubusercontent.com/trustcrypto/trustcrypto.github.io/master/49-onlykey.rules
> ")
> >       (sha256
> >        (base32 "1pj9i4hp0d74073x1qqwigd0cyriamg65zmx2j98mi0k66qrhcxa"))
>
> This URL is bogus?  It probably works for {you,now} because Guix is
> content-addressed and you've previously downloaded a file with that hash
> to your store.  If it ever gets garbage collected, Guix will be unable
> to download again.
>
> I advise against using an external file for such a trivial rule at all,
> and simply fixing the string-append until it works (and the actual file
> contents look correct).
>
> Kind regards,
>
> T G-R
>
> Sent from a Web browser.  Excuse or enjoy my brevity.
>
-- 

Regards,
Antwane


reply via email to

[Prev in Thread] Current Thread [Next in Thread]