aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/rrdtool.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/rrdtool.scm')
-rw-r--r--gnu/packages/rrdtool.scm22
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/rrdtool.scm b/gnu/packages/rrdtool.scm
index 13419e4d37..1fb642216d 100644
--- a/gnu/packages/rrdtool.scm
+++ b/gnu/packages/rrdtool.scm
@@ -53,17 +53,17 @@
("gtk" ,gtk+-2)
("libxml2" ,libxml2)
("pango" ,pango)
- ("python" ,python-2)))
+ ("python" ,python)))
(native-inputs
- `(("groff" ,groff)
- ("pkg-config" ,pkg-config)
-
- ;; For tests.
- ("bc" ,bc)
- ("perl" ,perl) ; will also build Perl bindings
- ("tzdata" ,tzdata-for-tests)))
+ (list groff
+ pkg-config
+ ;; For tests.
+ bc
+ perl ; will also build Perl bindings
+ tzdata-for-tests))
(arguments
- '(#:phases
+ `(#:disallowed-references (,tzdata-for-tests)
+ #:phases
(modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda _
@@ -73,9 +73,7 @@
(add-before 'check 'prepare-test-environment
(lambda* (#:key inputs #:allow-other-keys)
(setenv "TZDIR"
- (string-append (assoc-ref inputs "tzdata")
- "/share/zoneinfo"))
- #t))
+ (search-input-directory inputs "share/zoneinfo"))))
(add-after 'install 'remove-native-input-references
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))