mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-16 09:02:36 +00:00
Merge pull request #104774 from grahamc/sssd
sssd: fix build on glibc-2.32
This commit is contained in:
commit
43082f7f19
|
@ -54,6 +54,16 @@ stdenv.mkDerivation rec {
|
|||
configureFlagsArray+=("--with-sudo")
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
# glibc-2.32 includes a full set of NSS stub module declarations
|
||||
# that conflict with the ones in sssd source. Define _NSS_H to
|
||||
# prevent them from breaking the compilation, but just for this
|
||||
# one file.
|
||||
cat >> Makefile <<EOF
|
||||
src/responder/nss/nss_cmd.\$(OBJEXT) : DEFS = -DHAVE_CONFIG_H -D_NSS_H
|
||||
EOF
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ augeas dnsutils c-ares curl cyrus_sasl ding-libs libnl libunistring nss
|
||||
samba nfs-utils doxygen python python3 popt
|
||||
|
|
Loading…
Reference in a new issue