gnu: calcurse: Used the "fixed" test-only tzdata for tests.
* gnu/packages/calcurse.scm (calcurse)[inputs]: Remove tzdata and add ... [native-inputs]: tzdata-2017a. [arguments]: Add tzdata-2017a to #:disallowed-references.master
parent
c4b542ffd4
commit
a23dbbff14
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014, 2015, 2017 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2015, 2017 Eric Bavier <bavier@member.fsf.org>
|
||||||
|
;;; Copyright © 2014, 2015, 2017 Leo Famulari <leo@famulari.name>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -38,13 +39,17 @@
|
||||||
(base32
|
(base32
|
||||||
"0il0y06akdqgy0f9p40m4x6arn66nh7sr1w1i41bszycs7div266"))))
|
"0il0y06akdqgy0f9p40m4x6arn66nh7sr1w1i41bszycs7div266"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("ncurses" ,ncurses)
|
(inputs `(("ncurses" ,ncurses)))
|
||||||
("tzdata" ,tzdata)))
|
(native-inputs `(("tzdata" ,tzdata-2017a)))
|
||||||
(arguments
|
(arguments
|
||||||
;; The ical tests all want to create a ".calcurse" directory, and may
|
;; The ical tests all want to create a ".calcurse" directory, and may
|
||||||
;; fail with "cannot create directory '.calcurse': File exists" if run
|
;; fail with "cannot create directory '.calcurse': File exists" if run
|
||||||
;; concurently.
|
;; concurently.
|
||||||
'(#:parallel-tests? #f
|
`(#:parallel-tests? #f
|
||||||
|
;; Since this tzdata is only used for tests and not referenced by the
|
||||||
|
;; built package, used the "fixed" obsolete version of tzdata and ensure
|
||||||
|
;; it does not sneak in to the closure.
|
||||||
|
#:disallowed-references (,tzdata-2017a)
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
|
Reference in New Issue