gnu: fakeroot: Enable ACL support.

* gnu/packages/linux.scm (fakeroot)[native-inputs]: Add acl.
[arguments]<#:phases>[setenv]: New phase.
This commit is contained in:
Danny Milosavljevic 2019-02-20 17:00:27 +01:00
parent 78b2eb1ad3
commit 0d5c5b1b64
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 6 additions and 1 deletions

View File

@ -5096,6 +5096,10 @@ the superuser to make device nodes.")
(string-append (assoc-ref inputs "util-linux") (string-append (assoc-ref inputs "util-linux")
"/bin/getopt"))) "/bin/getopt")))
#t)) #t))
(add-before 'configure 'setenv
(lambda _
(setenv "LIBS" "-lacl")
#t))
(add-before 'check 'prepare-check (add-before 'check 'prepare-check
(lambda _ (lambda _
(setenv "SHELL" (which "bash")) (setenv "SHELL" (which "bash"))
@ -5114,7 +5118,8 @@ the superuser to make device nodes.")
(("tar -tvf") "tar --numeric-owner -tvf")) (("tar -tvf") "tar --numeric-owner -tvf"))
#t))))) #t)))))
(native-inputs (native-inputs
`(("sharutils" ,sharutils) ; for the tests `(("acl" ,acl)
("sharutils" ,sharutils) ; for the tests
("xz" ,xz))) ; for the tests ("xz" ,xz))) ; for the tests
(inputs (inputs
`(("libcap" ,libcap) `(("libcap" ,libcap)