guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: libapparmor: Restrict supported systems to GNU/Linux.


From: guix-commits
Subject: 05/10: gnu: libapparmor: Restrict supported systems to GNU/Linux.
Date: Sun, 4 Dec 2022 17:13:00 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 84424ae3c91c82c5d1b10728ba131b07d3acbb7a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Dec 4 22:17:09 2022 +0100

    gnu: libapparmor: Restrict supported systems to GNU/Linux.
    
    * gnu/packages/apparmor.scm (libapparmor)[supported-systems]: New
    field.
---
 gnu/packages/apparmor.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/apparmor.scm b/gnu/packages/apparmor.scm
index 9b2019d296..ddbd9eb7a9 100644
--- a/gnu/packages/apparmor.scm
+++ b/gnu/packages/apparmor.scm
@@ -109,7 +109,10 @@ AppArmor supplements the traditional Unix discretionary 
access control (DAC)
 model by providing mandatory access control (MAC).  It has been included in
 the mainline Linux kernel since version 2.6.36 and its development has been
 supported by Canonical since 2009.")
-    (license license:lgpl2.1)))
+    (license license:lgpl2.1)
+    (supported-systems (filter (lambda (system)
+                                 (string-suffix? "-linux" system))
+                               %supported-systems))))
 
 (define-public apparmor
   (let ((base libapparmor))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]