gnu: gts: Update phase style.

* gnu/packages/graphviz.scm (gts)[arguments]: Use MODIFY-PHASES syntax
and end phase with #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-20 04:01:34 +01:00
parent 0dc618067b
commit c0ad84ff1e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3,7 +3,7 @@
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
;;;
;;; This file is part of GNU Guix.
@ -148,11 +148,12 @@ (define-public gts
"07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-cons-before
'check 'pre-check
(lambda _
(chmod "test/boolean/test.sh" #o777))
%standard-phases)
'(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(chmod "test/boolean/test.sh" #o777)
#t)))
;; Some data files used by the test suite are missing.
;; See <http://sourceforge.net/p/gts/bugs/41/>.