[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/18: gnu: qemu: Return #t from phases.
From: |
Tobias Geerinckx-Rice |
Subject: |
03/18: gnu: qemu: Return #t from phases. |
Date: |
Fri, 22 Jun 2018 17:22:16 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 642d2db55a9adcf9ed94d283c84ad94e2c33cedf
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Jun 22 17:41:55 2018 +0200
gnu: qemu: Return #t from phases.
* gnu/packages/virtualization.scm (qemu)[arguments]: Substitute INVOKE
for SYSTEM*.
---
gnu/packages/virtualization.scm | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index e0c48ba..ebc57dc 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -130,28 +130,27 @@
;; The binaries need to be linked against -lrt.
(setenv "LDFLAGS" "-lrt")
- (zero?
- (apply system*
- `("./configure"
- ,(string-append "--cc=" (which "gcc"))
- ;; Some architectures insist on using HOST_CC
- ,(string-append "--host-cc=" (which "gcc"))
- "--disable-debug-info" ; save build space
- "--enable-virtfs" ; just to be sure
- ,(string-append "--prefix=" out)
- ,(string-append "--sysconfdir=/etc")
- ,@configure-flags))))))
+ (apply invoke
+ `("./configure"
+ ,(string-append "--cc=" (which "gcc"))
+ ;; Some architectures insist on using HOST_CC
+ ,(string-append "--host-cc=" (which "gcc"))
+ "--disable-debug-info" ; save build space
+ "--enable-virtfs" ; just to be sure
+ ,(string-append "--prefix=" out)
+ ,(string-append "--sysconfdir=/etc")
+ ,@configure-flags)))))
(add-after 'install 'install-info
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Install the Info manual, unless Texinfo is missing.
- (or (not (assoc-ref inputs "texinfo"))
- (let ((out (assoc-ref outputs "out")))
- (and (zero? (system* "make" "info"))
- (let ((infodir (string-append out "/share/info")))
- (for-each (lambda (info)
- (install-file info infodir))
- (find-files "." "\\.info"))
- #t))))))
+ (when (assoc-ref inputs "texinfo")
+ (let* ((out (assoc-ref outputs "out"))
+ (dir (string-append out "/share/info")))
+ (invoke "make" "info")
+ (for-each (lambda (info)
+ (install-file info dir))
+ (find-files "." "\\.info"))))
+ #t))
;; Create a wrapper for Samba. This allows QEMU to use Samba without
;; pulling it in as an input. Note that you need to explicitly install
;; Samba in your Guix profile for Samba support.
- branch master updated (71d4ba5 -> 1829f7e), Tobias Geerinckx-Rice, 2018/06/22
- 01/18: gnu: lxc: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/22
- 02/18: gnu: git-crypt: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 03/18: gnu: qemu: Return #t from phases.,
Tobias Geerinckx-Rice <=
- 05/18: gnu: guile-ssh: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 06/18: gnu: corkscrew: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 08/18: gnu: corkscrew: Clean up dead code., Tobias Geerinckx-Rice, 2018/06/22
- 07/18: gnu: corkscrew: Deduplicate documentation directories., Tobias Geerinckx-Rice, 2018/06/22
- 09/18: gnu: busybox: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 04/18: gnu: libtocc: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 10/18: gnu: libgit2: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/22
- 13/18: gnu: eid-mw: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/06/22
- 14/18: gnu: eid-mw: Fix build., Tobias Geerinckx-Rice, 2018/06/22
- 11/18: gnu: Use HTTPS for drobilla.net URIs., Tobias Geerinckx-Rice, 2018/06/22