diff --git a/pkgs/development/python-modules/ldap3/default.nix b/pkgs/development/python-modules/ldap3/default.nix index 989ddea1d8e6..4d4b6997409a 100644 --- a/pkgs/development/python-modules/ldap3/default.nix +++ b/pkgs/development/python-modules/ldap3/default.nix @@ -24,6 +24,8 @@ buildPythonPackage rec { prePatch = '' # patch fails to apply because of line endings dos2unix ldap3/utils/asn1.py + substituteInPlace _version.json \ + --replace-fail '"version": "2.9",' '"version": "${version}",' ''; patches = [