diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-06 16:07:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 16:07:30 +0200 |
commit | e5ad4c6da2cda78f8d17376265037744702f0576 (patch) | |
tree | 8d2e4ff0dd7a01a5193d5d2fcf9e10ddd5f2dd92 | |
parent | 4ec9ceba4d5bc70411eaef72e8e29c9753c7edf6 (diff) | |
parent | 43e85c55ae18e21bd0b7e324a6f6ebbfe1c826f8 (diff) |
Merge pull request #302102 from anthonyroussel/fix-sssd
sssd: fix build
-rw-r--r-- | pkgs/os-specific/linux/sssd/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/sssd/default.nix b/pkgs/os-specific/linux/sssd/default.nix index a4a0d1dd49ffb..0f0c6fcf4a659 100644 --- a/pkgs/os-specific/linux/sssd/default.nix +++ b/pkgs/os-specific/linux/sssd/default.nix @@ -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 ''; |