From: Antwane Mason <ad.mason1413@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>,
"help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: Udev Rule Not Triggered
Date: Tue, 31 Aug 2021 17:59:02 -0400 [thread overview]
Message-ID: <CAAztfg+PvM5PBcjwBkyE_Mf-QN4sVE0F1EY0SpmcxiSAL9LOFQ@mail.gmail.com> (raw)
In-Reply-To: <69153a102313299ebb4ddf8293aea075@tobias.gr>
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
prev parent reply other threads:[~2021-08-31 21:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-29 13:39 Udev Rule Not Triggered Antwane Mason
2021-08-29 13:53 ` pelzflorian (Florian Pelz)
2021-08-29 14:01 ` Antwane Mason
2021-08-29 14:28 ` pelzflorian (Florian Pelz)
2021-08-29 14:42 ` pelzflorian (Florian Pelz)
2021-08-29 15:22 ` Antwane Mason
2021-08-29 15:44 ` Antwane Mason
2021-08-29 17:23 ` pelzflorian (Florian Pelz)
2021-08-29 18:54 ` Antwane Mason
2021-08-29 21:39 ` Antwane Mason
2021-08-29 22:12 ` pelzflorian (Florian Pelz)
2021-08-29 22:17 ` Tobias Geerinckx-Rice
2021-08-31 21:59 ` Antwane Mason [this message]
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=CAAztfg+PvM5PBcjwBkyE_Mf-QN4sVE0F1EY0SpmcxiSAL9LOFQ@mail.gmail.com \
--to=ad.mason1413@gmail.com \
--cc=help-guix@gnu.org \
--cc=me@tobias.gr \
/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.
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).