[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: build-system/waf: Use invoke.
From: |
Ricardo Wurmus |
Subject: |
01/02: build-system/waf: Use invoke. |
Date: |
Tue, 19 Jun 2018 04:48:22 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b194da0d6833ee2767b5df34105d12e456c52368
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jun 19 10:40:39 2018 +0200
build-system/waf: Use invoke.
* guix/build/waf-build-system.scm (call-waf): Use "invoke" and
unconditionally
return #t.
---
guix/build/waf-build-system.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/build/waf-build-system.scm b/guix/build/waf-build-system.scm
index f0364e8..56048e7 100644
--- a/guix/build/waf-build-system.scm
+++ b/guix/build/waf-build-system.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
+;;; Copyright © 2015, 2018 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -38,7 +38,8 @@
(begin
(format #t "running \"python waf\" with command ~s and parameters
~s~%"
command params)
- (zero? (apply system* "python" "waf" command params)))
+ (apply invoke "python" "waf" command params)
+ #t)
(error "no waf found")))
(define* (configure #:key target native-inputs inputs outputs