git.iko.soy/typeable/nixpkgs
on master help sign in
sssd: Port to samba-4.12
commita8811cb82bab25aa835a09dc48a2d9450448d6d5 authorgtgteq <gtgteq.operator@gmail.com> dateTue 31 Mar 2020, 15:35 (7 years ago) parent40fb6de
1 file changed+8−1
pkgs/os-specific/linux/sssd/default.nix+8−1
pkgs/os-specific/linux/sssd/default.nix+8−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, glibc, augeas, dnsutils, c-ares, curl,
1+{ stdenv, fetchurl, fetchpatch, glibc, augeas, dnsutils, c-ares, curl,
22 cyrus_sasl, ding-libs, libnl, libunistring, nss, samba, nfs-utils, doxygen,
33 python, python3, pam, popt, talloc, tdb, tevent, pkgconfig, ldb, openldap,
44 pcre, kerberos, cifs-utils, glib, keyutils, dbus, fakeroot, libxslt, libxml2,
@@ -18,6 +18,13 @@ stdenv.mkDerivation rec {
1818 url = "https://fedorahosted.org/released/sssd/${pname}-${version}.tar.gz";
1919 sha256 = "0ngr7cgimyjc6flqkm7psxagp1m4jlzpqkn28pliifbmdg6i5ckb";
2020 };
21+ patches = [
22+ # Fix build failure against samba 4.12.0rc1
23+ (fetchpatch {
24+ url = "https://github.com/SSSD/sssd/commit/bc56b10aea999284458dcc293b54cf65288e325d.patch";
25+ sha256 = "0q74sx5n41srq3kdn55l5j1sq4xrjsnl5y4v8yh5mwsijj74yh4g";
26+ })
27+ ];
2128
2229 # Something is looking for <libxml/foo.h> instead of <libxml2/libxml/foo.h>
2330 NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";