python3Packages.promise: fix build

This commit is contained in:
Martin Weinelt 2022-03-03 23:41:22 +01:00
parent ff4f42990c
commit 389beb05dc

View File

@ -18,6 +18,11 @@ buildPythonPackage rec {
sha256 = "17mq1bm78xfl0x1g50ng502m5ldq6421rzz35hlqafsj0cq8dkp6";
};
postPatch = ''
substituteInPlace tests/test_extra.py \
--replace "assert_exc.traceback[-1].path.strpath" "str(assert_exc.traceback[-1].path)"
'';
propagatedBuildInputs = [
six
];