[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: axoloti-runtime: Use INVOKE.
From: |
guix-commits |
Subject: |
01/04: gnu: axoloti-runtime: Use INVOKE. |
Date: |
Thu, 24 Jan 2019 17:11:06 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 1ae04a2acc814a45510e235e1968b8836c4ffb9b
Author: Ricardo Wurmus <address@hidden>
Date: Thu Jan 24 23:06:33 2019 +0100
gnu: axoloti-runtime: Use INVOKE.
* gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Use INVOKE and
return
#T from build phases unconditionally.
---
gnu/packages/axoloti.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm
index 4963bb3..b2f6757 100644
--- a/gnu/packages/axoloti.scm
+++ b/gnu/packages/axoloti.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -94,10 +94,10 @@
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
;; prepare ChibiOS
- (and (zero? (system* "unzip" "-o" (assoc-ref inputs "chibios")))
- (zero? (system* "mv" "ChibiOS_2.6.9" "chibios"))
- (with-directory-excursion "chibios/ext"
- (zero? (system* "unzip" "-o" "fatfs-0.9-patched.zip"))))
+ (invoke "unzip" "-o" (assoc-ref inputs "chibios"))
+ (invoke "mv" "ChibiOS_2.6.9" "chibios")
+ (with-directory-excursion "chibios/ext"
+ (invoke "unzip" "-o" "fatfs-0.9-patched.zip"))
;; Remove source of non-determinism in ChibiOS
(substitute* "chibios/os/various/shell.c"
@@ -149,7 +149,7 @@
(string-append toolchain
"/arm-none-eabi/lib")))
(with-directory-excursion "platform_linux"
- (zero? (system* "sh" "compile_firmware.sh")))))
+ (invoke "sh" "compile_firmware.sh"))))
(replace 'install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))