gnu: acl, attr: Make `gettext' a native input.

* gnu/packages/acl.scm (acl): Make `gettext' a native input, always.
* gnu/packages/attr.scm (attr): Likewise.
This commit is contained in:
Ludovic Courtès 2013-06-22 16:32:30 +02:00
parent 8572bf5e0c
commit ee26820636
2 changed files with 8 additions and 17 deletions

View file

@ -60,14 +60,9 @@ (define-public acl
;; Perl is needed to run tests; remove it from cross builds. ;; Perl is needed to run tests; remove it from cross builds.
,@(if (%current-target-system) ,@(if (%current-target-system)
'() '()
`(("gettext" ,guix:gettext) `(("perl" ,perl)))))
("perl" ,perl)))))
(native-inputs (native-inputs
;; FIXME: Upon next core-updates, make gettext a native input `(("gettext" ,guix:gettext)))
;; unconditionally.
(if (%current-target-system)
`(("gettext" ,guix:gettext))
'()))
(home-page (home-page
"http://savannah.nongnu.org/projects/acl") "http://savannah.nongnu.org/projects/acl")

View file

@ -69,17 +69,13 @@ (define-public attr
;; dependent on the underlying file system. ;; dependent on the underlying file system.
#t) #t)
%standard-phases)))))) %standard-phases))))))
(inputs `(;; Perl is needed to run tests; remove it from cross builds. (inputs
,@(if (%current-target-system) ;; Perl is needed to run tests; remove it from cross builds.
'()
`(("perl" ,perl)
("gettext" ,guix:gettext)))))
(native-inputs
;; FIXME: Upon next core-updates, make gettext a native input
;; unconditionally.
(if (%current-target-system) (if (%current-target-system)
`(("gettext" ,guix:gettext)) '()
'())) `(("perl" ,perl))))
(native-inputs
`(("gettext" ,guix:gettext)))
(home-page "http://savannah.nongnu.org/projects/attr/") (home-page "http://savannah.nongnu.org/projects/attr/")
(synopsis "Library and tools for manipulating extended attributes") (synopsis "Library and tools for manipulating extended attributes")