1
0
Fork 1
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:
Daniel Kuehn 2017-10-02 16:55:26 +02:00 committed by Bjørn Forsman
parent b3b9ff4ba5
commit 4c449e03b7

View file

@ -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 = [