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: Sun, 29 Aug 2021 10:01:00 -0400

> 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.

(define %example-udev-rule
  (udev-rule 
<https://guix.gnu.org/manual/en/html_node/Base-Services.html#index-udev_002drule>
    "90-usb-thing.rules"
    (string-append
<https://www.gnu.org/software/guile/manual/html_node/Reversing-and-Appending-Strings.html#index-string_002dappend>
"ACTION==\"add\", SUBSYSTEM==\"usb\", "
                   "ATTR{product}==\"Example\", "
                   "RUN+=\"/path/to/script\"")))


reply via email to

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