python3Packages.python-prctl: Fix build failure (#372437)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchPypi,
|
||||
libcap,
|
||||
pytestCheckHook,
|
||||
distutils,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -18,7 +19,17 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ libcap ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
distutils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test_prctl.py \
|
||||
--replace-fail \
|
||||
'sys.version[0:3]' \
|
||||
'"cpython-%d%d" % (sys.version_info.major, sys.version_info.minor)'
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Intel MPX support was removed in GCC 9.1 & Linux kernel 5.6
|
||||
|
||||
Reference in New Issue
Block a user