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"
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||||
, withInsults ? false
|
, withInsults ? false
|
||||||
|
, withSssd ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -30,6 +31,9 @@ stdenv.mkDerivation rec {
|
||||||
] ++ stdenv.lib.optional withInsults [
|
] ++ stdenv.lib.optional withInsults [
|
||||||
"--with-insults"
|
"--with-insults"
|
||||||
"--with-all-insults"
|
"--with-all-insults"
|
||||||
|
] ++ stdenv.lib.optional withSssd [
|
||||||
|
"--with-sssd"
|
||||||
|
"--with-sssd-lib=${sssd}/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlagsArray = [
|
configureFlagsArray = [
|
||||||
|
|
Loading…
Reference in New Issue