python3Packages.deepdiff: fix tests on darwin

problems arising from assuming a fixed tmp location
This commit is contained in:
Robert Scott 2021-11-10 18:55:03 +00:00
parent ee0ab18da9
commit 5e74077c3f

View File

@ -23,6 +23,11 @@ buildPythonPackage rec {
sha256 = "sha256-ysaIeVefsTX7ZubOXaEzeS1kMyBp4/w3SHNFxsGVhzY=";
};
postPatch = ''
substituteInPlace tests/test_command.py \
--replace '/tmp/' "$TMPDIR/"
'';
propagatedBuildInputs = [
click
ordered-set