[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: fakeroot: Enable ACL support.
From: |
guix-commits |
Subject: |
01/01: gnu: fakeroot: Enable ACL support. |
Date: |
Wed, 20 Feb 2019 11:02:05 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 0d5c5b1b6475c04ba6becbbeb44775f0d981ef15
Author: Danny Milosavljevic <address@hidden>
Date: Wed Feb 20 17:00:27 2019 +0100
gnu: fakeroot: Enable ACL support.
* gnu/packages/linux.scm (fakeroot)[native-inputs]: Add acl.
[arguments]<#:phases>[setenv]: New phase.
---
gnu/packages/linux.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8b86531..ad7ee2a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5096,6 +5096,10 @@ the superuser to make device nodes.")
(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 @@ the superuser to make device nodes.")
(("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)