diff options
| author | Robert Scott <code@humanleg.org.uk> | 2021-11-10 18:55:03 +0000 |
|---|---|---|
| committer | Robert Scott <code@humanleg.org.uk> | 2021-11-10 18:55:03 +0000 |
| commit | 5e74077c3fef465c8b4ded7b3c50638f49dc4f3c (patch) | |
| tree | b95173ee7bd6c26b0bf9824ec30b6d26e00c5556 /pkgs/development/python-modules/deepdiff/default.nix | |
| parent | Merge pull request #145347 from andrevmatos/kde/plasma5_23_3 (diff) | |
| download | nixpkgs-5e74077c3fef465c8b4ded7b3c50638f49dc4f3c.tar.gz | |
python3Packages.deepdiff: fix tests on darwin
problems arising from assuming a fixed tmp location
Diffstat (limited to 'pkgs/development/python-modules/deepdiff/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/deepdiff/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/deepdiff/default.nix b/pkgs/development/python-modules/deepdiff/default.nix index 199894f13201..67f5347e1e7e 100644 --- a/pkgs/development/python-modules/deepdiff/default.nix +++ b/pkgs/development/python-modules/deepdiff/default.nix @@ -23,6 +23,11 @@ buildPythonPackage rec { sha256 = "sha256-ysaIeVefsTX7ZubOXaEzeS1kMyBp4/w3SHNFxsGVhzY="; }; + postPatch = '' + substituteInPlace tests/test_command.py \ + --replace '/tmp/' "$TMPDIR/" + ''; + propagatedBuildInputs = [ click ordered-set |
