build-system/waf: Use invoke.

* guix/build/waf-build-system.scm (call-waf): Use "invoke" and unconditionally
return #t.
This commit is contained in:
Ricardo Wurmus 2018-06-19 10:40:39 +02:00
parent bc19a68c5c
commit b194da0d68
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -38,7 +38,8 @@
(begin (begin
(format #t "running \"python waf\" with command ~s and parameters ~s~%" (format #t "running \"python waf\" with command ~s and parameters ~s~%"
command params) command params)
(zero? (apply system* "python" "waf" command params))) (apply invoke "python" "waf" command params)
#t)
(error "no waf found"))) (error "no waf found")))
(define* (configure #:key target native-inputs inputs outputs (define* (configure #:key target native-inputs inputs outputs