diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-06-19 10:40:39 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-06-19 10:48:14 +0200 |
commit | b194da0d6833ee2767b5df34105d12e456c52368 (patch) | |
tree | be9ae404a613bb6a584f3cf887e72085085dded9 | |
parent | bc19a68c5c4063791fddbfb7fc8ff3971208e965 (diff) | |
download | patches-b194da0d6833ee2767b5df34105d12e456c52368.tar patches-b194da0d6833ee2767b5df34105d12e456c52368.tar.gz |
build-system/waf: Use invoke.
* guix/build/waf-build-system.scm (call-waf): Use "invoke" and unconditionally
return #t.
-rw-r--r-- | guix/build/waf-build-system.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/build/waf-build-system.scm b/guix/build/waf-build-system.scm index f0364e867d..56048e7685 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 <rekado@elephly.net> +;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; 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 |