summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-01-26 10:36:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-01-26 10:36:21 +0200
commit0e2abacae66db1295be8d5e87ff2eba6322f8f59 (patch)
treebcfc59d4cc16bf5b78f7987ea6fee113d9544f24
parent4f8d5e63b2f83fc0b9297e874f03c8424303b488 (diff)
downloadguix-0e2abacae66db1295be8d5e87ff2eba6322f8f59.tar.gz
gnu: sudo: Build without pam for the Hurd.
* gnu/packages/admin.scm (sudo)[inputs]: Only use linux-pam when
not building for the Hurd.
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e14b84f769..f78b411559 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1502,7 +1502,9 @@ system administrator.")
          `(("groff" ,groff))))
     (inputs
      `(("coreutils" ,coreutils)
-       ("linux-pam" ,linux-pam)
+       ,@(if (hurd-target?)
+           '()
+           `(("linux-pam" ,linux-pam)))
        ("zlib" ,zlib)))
     (home-page "https://www.sudo.ws/")
     (synopsis "Run commands as root")