From bd2caca375c2e5607fed6e117d9dd0bef808aaa0 Mon Sep 17 00:00:00 2001 From: viq Date: Fri, 1 Jul 2022 22:28:44 +0200 Subject: [PATCH] Fix salt with ZeroMQ 23.0.0 and newer As per https://github.com/saltstack/salt/commit/6ec8b90e402ff3fa8f27c7da70ece898592416bc --- pkgs/tools/admin/salt/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/admin/salt/default.nix b/pkgs/tools/admin/salt/default.nix index bac3bca4cc6b..1a30548f3cc4 100644 --- a/pkgs/tools/admin/salt/default.nix +++ b/pkgs/tools/admin/salt/default.nix @@ -1,6 +1,7 @@ { lib , python3 , openssl +, fetchpatch # Many Salt modules require various Python modules to be installed, # passing them in this array enables Salt to find them. , extraInputs ? [] @@ -29,6 +30,10 @@ python3.pkgs.buildPythonApplication rec { patches = [ ./fix-libcrypto-loading.patch + (fetchpatch { + url = "https://github.com/saltstack/salt/commit/6ec8b90e402ff3fa8f27c7da70ece898592416bc.patch"; + hash = "sha256-OQCJeG12cp2EZ0BErp6yqsqhv023923rVFDHAFUfF6c="; + }) ]; postPatch = ''