mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02:00
sssd: fix build
Samba has been updated to 4.20 with PR #300156 However, sssd 2.9.4 is incompatible with Samba 4.20 A resolution is to backport an unreleased fix to make the build work with Samba 4.20. Fixes #302062
This commit is contained in:
parent
ce4a55c919
commit
43e85c55ae
|
@ -5,7 +5,7 @@
|
|||
libuuid, systemd, nspr, check, cmocka, uid_wrapper, p11-kit,
|
||||
nss_wrapper, ncurses, Po4a, http-parser, jansson, jose,
|
||||
docbook_xsl, docbook_xml_dtd_44,
|
||||
testers, nix-update-script, nixosTests,
|
||||
testers, nix-update-script, nixosTests, fetchpatch,
|
||||
withSudo ? false }:
|
||||
|
||||
let
|
||||
|
@ -22,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-VJXZndbmC6mAVxzvv5Wjb4adrQkP16Rt4cgjl4qGDIc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix the build with Samba 4.20
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SSSD/sssd/commit/1bf51929a48b84d62ac54f2a42f17e7fbffe1612.patch";
|
||||
hash = "sha256-VLx04APEipp860iOJNIwTGywxZ7rIDdyh3te6m7Ymlo=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./sbus_generate.sh.in
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue