1
0
Fork 1
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:
Sandro 2020-11-24 19:53:06 +01:00 committed by GitHub
commit 43082f7f19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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