diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-01-26 10:36:21 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-26 10:36:21 +0200 |
commit | 0e2abacae66db1295be8d5e87ff2eba6322f8f59 (patch) | |
tree | bcfc59d4cc16bf5b78f7987ea6fee113d9544f24 /gnu/packages/admin.scm | |
parent | 4f8d5e63b2f83fc0b9297e874f03c8424303b488 (diff) | |
download | guix-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.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 4 |
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") |