mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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 New Issue
Block a user