summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-02 15:49:41 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-02 15:49:41 -0400
commit771cbf2ab222478ebfc11b20f1833a3e0e908e6a (patch)
tree79d160db412779d70b2fc5341ce69cb336dba873
parentddd8bb104ae45983217ab3ae40109a9aca5f4155 (diff)
downloadguix-771cbf2ab222478ebfc11b20f1833a3e0e908e6a.tar.gz
gnu: teesy-loader-cli: Drop trailing #t.
* gnu/packages/flashing-tools.scm (teensy-loader-cli) [source]: Drop trailing
 #t in snippet.
[arguments]: Likewise for phases.
-rw-r--r--gnu/packages/flashing-tools.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 85b3988729..d9f59cd0b7 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -230,8 +230,7 @@ firmware from it.")
        (snippet
         `(begin
            ;; Remove example flash files and teensy rebooter flash binaries.
-           (for-each delete-file (find-files "." "\\.(elf|hex)$"))
-           #t))
+           (for-each delete-file (find-files "." "\\.(elf|hex)$"))))
        (patches (search-patches "teensy-loader-cli-help.patch"))))
     (build-system gnu-build-system)
     (arguments
@@ -244,10 +243,8 @@ firmware from it.")
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (bin (string-append out "/bin")))
-               (install-file "teensy_loader_cli" bin)
-               #t))))))
-    (inputs
-     (list libusb-compat))
+               (install-file "teensy_loader_cli" bin)))))))
+    (inputs (list libusb-compat))       ;only compatible with libusb 0.1
     (synopsis "Command line firmware uploader for Teensy development boards")
     (description
      "The Teensy loader program communicates with your Teensy board when the