sudo: Add optional dependency to SSSD, enabled by setting withSssd to true

authored by Daniel Kuehn and committed by Bjørn Forsman 4c449e03 b3b9ff4b

+5 -1
+5 -1
pkgs/tools/security/sudo/default.nix
··· 1 - { stdenv, fetchurl, coreutils, pam, groff 2 , sendmailPath ? "/run/wrappers/bin/sendmail" 3 , withInsults ? false 4 }: 5 6 stdenv.mkDerivation rec { ··· 30 ] ++ stdenv.lib.optional withInsults [ 31 "--with-insults" 32 "--with-all-insults" 33 ]; 34 35 configureFlagsArray = [
··· 1 + { stdenv, fetchurl, coreutils, pam, groff, sssd 2 , sendmailPath ? "/run/wrappers/bin/sendmail" 3 , withInsults ? false 4 + , withSssd ? false 5 }: 6 7 stdenv.mkDerivation rec { ··· 31 ] ++ stdenv.lib.optional withInsults [ 32 "--with-insults" 33 "--with-all-insults" 34 + ] ++ stdenv.lib.optional withSssd [ 35 + "--with-sssd" 36 + "--with-sssd-lib=${sssd}/lib" 37 ]; 38 39 configureFlagsArray = [