salt: Build with the cryptography module

Without this, both the master and minion give errors like "NameError:
name 'rsa' is not defined", while with it they both run fine. This is
presumably because Salt just ignores import errors of the cryptography
library[1], so rather than erroring immediately on startup it takes a while
(at least for the minion).

[1] https://github.com/saltstack/salt/blob/master/salt/crypt.py#L50
This commit is contained in:
Alex Dehnert 2025-08-03 01:50:37 -04:00
parent 4c6aea256a
commit d0aa9c4a8f

View File

@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs =
with python3.pkgs;
[
cryptography
distro
jinja2
jmespath