gnu: tree: Rewrite with gexps.

* gnu/packages/admin.scm (tree)[arguments]: Rewrite with gexps.
This commit is contained in:
Efraim Flashner 2022-01-12 12:42:12 +02:00
parent e773326cc2
commit 2d3bec89b5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2405,11 +2405,14 @@ recover lost partitions and/or make non-booting disks bootable again.")
(base32 "0f92vx6gpz7v29wi9clklzah57v7lgx5kv0m1w4b9xjc35d9qcz3")))) (base32 "0f92vx6gpz7v29wi9clklzah57v7lgx5kv0m1w4b9xjc35d9qcz3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases (delete 'configure)) (list
#:tests? #f ; no check target #:phases
#:make-flags (let ((out (assoc-ref %outputs "out"))) #~(modify-phases %standard-phases
(list (string-append "PREFIX=" out) (delete 'configure)) ; No configure script.
(string-append "CC=" ,(cc-for-target)))))) #:tests? #f ; No check target.
#:make-flags
#~(list (string-append "PREFIX=" #$output)
(string-append "CC=" #$(cc-for-target)))))
(synopsis "Recursively list the contents of a directory") (synopsis "Recursively list the contents of a directory")
(description (description
"Tree is a recursive directory listing command that produces a depth "Tree is a recursive directory listing command that produces a depth