guix-commits
[Top][All Lists]
Advanced

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

07/27: gnu: earlyoom: Only build with pandoc on certain systems.


From: guix-commits
Subject: 07/27: gnu: earlyoom: Only build with pandoc on certain systems.
Date: Fri, 14 Jan 2022 04:43:41 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit a275ef39663e36259020003694ea27d03797e69c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 13 15:06:02 2022 +0200

    gnu: earlyoom: Only build with pandoc on certain systems.
    
    * gnu/packages/linux.scm (earlyoom)[native-inputs]: Only use pandoc on
    x86_64-linux and i686-linux.
---
 gnu/packages/linux.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 46645e98b4..7b12cb8ec1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3756,12 +3756,15 @@ from the module-init-tools project.")
                "GO111MODULE=off")
        #:test-target "test"))
     (native-inputs
-      (list
-        ;; For the test suite.
-        cppcheck
-        go
+      (append
         ;; To generate the manpage.
-        pandoc))
+        (if (or (target-x86-64?) (target-x86-32?))
+          (list pandoc)
+          '())
+        (list
+          ;; For the test suite.
+          cppcheck
+          go)))
     (home-page "https://github.com/rfjakob/earlyoom";)
     (synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
     (description "Early OOM is a minimalist out of memory (OOM) daemon that



reply via email to

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