From d0aa9c4a8ff4fd944c04c0d136c6cc295dd831ef Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 3 Aug 2025 01:50:37 -0400 Subject: [PATCH] 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 --- pkgs/by-name/sa/salt/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/sa/salt/package.nix b/pkgs/by-name/sa/salt/package.nix index 1608a9078ff6..ff4c95345d9a 100644 --- a/pkgs/by-name/sa/salt/package.nix +++ b/pkgs/by-name/sa/salt/package.nix @@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ + cryptography distro jinja2 jmespath