1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00

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