gnu: di: Use G-expressions.
* gnu/packages/admin.scm (di)[arguments]: Rewrite as G-expressions. Rename 'setup-environment phase to 'override-environment.
This commit is contained in:
parent
c39abdedbb
commit
adf097908c
1 changed files with 11 additions and 9 deletions
|
@ -3553,15 +3553,17 @@ (define-public di
|
|||
(base32 "07vsnn1gxm3r7dchbrq63iazd64gza2ac7b2m1039708rf5flxdp"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; obscure test failures
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(add-before 'build 'setup-environment
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(setenv "CC" ,(cc-for-target))
|
||||
(setenv "prefix" (assoc-ref outputs "out")))))
|
||||
#:make-flags (list "--environment-overrides")))
|
||||
(list
|
||||
#:tests? #f ; obscure test failures
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(add-before 'build 'override-environment
|
||||
(lambda _
|
||||
(setenv "CC" #$(cc-for-target))
|
||||
(setenv "prefix" #$output))))
|
||||
#:make-flags
|
||||
#~(list "--environment-overrides")))
|
||||
(home-page "https://gentoo.com/di/")
|
||||
(synopsis "Advanced df like disk information utility")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue