mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
python3Packages.deepdiff: fix tests on darwin
problems arising from assuming a fixed tmp location
This commit is contained in:
parent
ee0ab18da9
commit
5e74077c3f
@ -23,6 +23,11 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-ysaIeVefsTX7ZubOXaEzeS1kMyBp4/w3SHNFxsGVhzY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_command.py \
|
||||
--replace '/tmp/' "$TMPDIR/"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
ordered-set
|
||||
|
Loading…
Reference in New Issue
Block a user