aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-24 22:05:45 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-26 02:17:01 +0200
commitfbe4a5a2cb9972ce16ecbede7dd3be8d69029ace (patch)
tree538b060b1c8ce706e89432e781b0bcd99a99ab48
parent6b042495efbee8f6717793571037f7d75b9f31bf (diff)
downloadpatches-fbe4a5a2cb9972ce16ecbede7dd3be8d69029ace.tar
patches-fbe4a5a2cb9972ce16ecbede7dd3be8d69029ace.tar.gz
gnu: libsigrok: Return #t from all phases.
* gnu/packages/electronics.scm (libsigrok)[arguments]: Substitute INVOKE for SYSTEM*. Return #t rather than undefined from phases.
-rw-r--r--gnu/packages/electronics.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 068aa23e36..af3ebeb805 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -146,7 +146,7 @@ as simple logic analyzer and/or oscilloscope hardware.")
#t)))
(add-after 'build 'build-doc
(lambda _
- (zero? (system* "doxygen"))))
+ (invoke "doxygen")))
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(copy-recursively "doxy/html-api"
@@ -158,7 +158,8 @@ as simple logic analyzer and/or oscilloscope hardware.")
(install-file "contrib/60-libsigrok.rules"
(string-append
(assoc-ref outputs "out")
- "/lib/udev/rules.d/"))))
+ "/lib/udev/rules.d/"))
+ #t))
(add-after 'install-udev-rules 'install-fw
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((fx2lafw (assoc-ref inputs "sigrok-firmware-fx2lafw"))