mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python3Packages.promise: fix build
This commit is contained in:
parent
ff4f42990c
commit
389beb05dc
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user