summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2022-12-14 18:21:22 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2022-12-14 18:23:58 +0100
commite7b2433484d834dda5cd1ca857b9a445c40a337e (patch)
tree46fba107aaadf16047a25969f8fd9612adff166c /gnu
parentc50e3407070bc3f05401b9aaf43b1eea391171c9 (diff)
downloadguix-e7b2433484d834dda5cd1ca857b9a445c40a337e.tar.gz
gnu: rfcat: Improve style.
* gnu/packages/radio.scm (rfcat)[arguments]: Use gexp.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/radio.scm22
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 1eb98fd1f8..9642f0e068 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2518,17 +2518,17 @@ Caller-ID.")
            python-pyside-2
            python-pyusb))
     (arguments
-     `(#:tests? #f  ; Tests want to use a serial port
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-permissions
-           (lambda _
-             (make-file-writable "rflib/rflib_version.py")))
-         (add-after 'install 'install-udev-rules
-           (lambda* (#:key outputs #:allow-other-keys)
-             (install-file "etc/udev/rules.d/20-rfcat.rules"
-                           (string-append (assoc-ref outputs "out")
-                                          "/lib/udev/rules.d")))))))
+     (list
+      #:tests? #f  ; Tests want to use a serial port
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-permissions
+            (lambda _
+              (make-file-writable "rflib/rflib_version.py")))
+          (add-after 'install 'install-udev-rules
+            (lambda* _
+              (install-file "etc/udev/rules.d/20-rfcat.rules"
+                            (string-append #$output "/lib/udev/rules.d")))))))
     (home-page "https://github.com/atlas0fd00m/rfcat")
     (synopsis "Program to control some radio dongles")
     (description