diff options
| author | Matthew Bauer <mjbauer95@gmail.com> | 2022-05-05 12:01:23 -0500 |
|---|---|---|
| committer | Matthew Bauer <mjbauer95@gmail.com> | 2022-05-05 12:01:23 -0500 |
| commit | 91e4fa278e3095285fc5cb56681a4aff076ca805 (patch) | |
| tree | fef210615614e88b7d3c50131c29e4a2634046bd /pkgs/development/python-modules/python-openstackclient | |
| parent | 35ddacd8994f90a34cc00db3931a60095b658740 (diff) | |
haskell-modules/generic-builder.nix: use mktemp instead of TMPDIR
Using $TMPDIR here is problematic because it is not always cleared at
the end of each build, for instance when using "nix-shell --run
genericBuild". This can cause confusing errors when a nix-shell build
is trying to pull in dependencies from a previous build since it tries
to use older package conf files.
To fix, we can just use mktemp which will guarantee us a clean
directory for each build. Should have no effect in nix-build, but will
fix a common issue with using generic-builder in nix-shell.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
