python3Packages.shellingham: fix for darwin by patching the absolute path to procps
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
procps,
|
||||
setuptools,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
@@ -19,6 +20,13 @@ buildPythonPackage (finalAttrs: {
|
||||
hash = "sha256-xeBo3Ok+XPrHN4nQd7M8/11leSV/8z1f7Sj33+HFVtQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/shellingham/posix/ps.py \
|
||||
--replace-fail \
|
||||
'cmd = ["ps",' \
|
||||
'cmd = ["${lib.getExe' procps "ps"}",'
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user