mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
sudo: Add optional dependency to SSSD, enabled by setting withSssd to true
This commit is contained in:
parent
b3b9ff4ba5
commit
4c449e03b7
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, fetchurl, coreutils, pam, groff
|
||||
{ stdenv, fetchurl, coreutils, pam, groff, sssd
|
||||
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||
, withInsults ? false
|
||||
, withSssd ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -30,6 +31,9 @@ stdenv.mkDerivation rec {
|
|||
] ++ stdenv.lib.optional withInsults [
|
||||
"--with-insults"
|
||||
"--with-all-insults"
|
||||
] ++ stdenv.lib.optional withSssd [
|
||||
"--with-sssd"
|
||||
"--with-sssd-lib=${sssd}/lib"
|
||||
];
|
||||
|
||||
configureFlagsArray = [
|
||||
|
|
Loading…
Reference in a new issue