mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: fakeroot: Enable ACL support.
* gnu/packages/linux.scm (fakeroot)[native-inputs]: Add acl. [arguments]<#:phases>[setenv]: New phase.
This commit is contained in:
parent
78b2eb1ad3
commit
0d5c5b1b64
1 changed files with 6 additions and 1 deletions
|
@ -5096,6 +5096,10 @@ (define-public fakeroot
|
|||
(string-append (assoc-ref inputs "util-linux")
|
||||
"/bin/getopt")))
|
||||
#t))
|
||||
(add-before 'configure 'setenv
|
||||
(lambda _
|
||||
(setenv "LIBS" "-lacl")
|
||||
#t))
|
||||
(add-before 'check 'prepare-check
|
||||
(lambda _
|
||||
(setenv "SHELL" (which "bash"))
|
||||
|
@ -5114,7 +5118,8 @@ (define-public fakeroot
|
|||
(("tar -tvf") "tar --numeric-owner -tvf"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("sharutils" ,sharutils) ; for the tests
|
||||
`(("acl" ,acl)
|
||||
("sharutils" ,sharutils) ; for the tests
|
||||
("xz" ,xz))) ; for the tests
|
||||
(inputs
|
||||
`(("libcap" ,libcap)
|
||||
|
|
Loading…
Reference in a new issue