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