forked from mirrors/nixpkgs
salt: fix runtime error on darwin
This commit is contained in:
parent
a6a225e33c
commit
0cd235bc68
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, python3
|
||||
, openssl
|
||||
, fetchpatch
|
||||
|
@ -35,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace "salt/utils/rsax931.py" \
|
||||
--subst-var-by "libcrypto" "${lib.getLib openssl}/lib/libcrypto.so"
|
||||
--subst-var-by "libcrypto" "${lib.getLib openssl}/lib/libcrypto${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
substituteInPlace requirements/base.txt \
|
||||
--replace contextvars ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue