diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-12-29 15:28:20 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-12-29 15:28:20 +0100 |
commit | b8258a4475726b56a4caa6553568c67a343a091d (patch) | |
tree | 4fbbc7dc1f871859ce7ab6a03a8747e6138b583d /src/nix-env/nix-env.cc | |
parent | 52120123a5505199c342afb42f1a48b9cb2628ed (diff) |
Fix regression in passAsFile
Caused by 8063fc497ab78fa72962b93874fe25dcca2b55ed. If tmpDir !=
tmpDirInSandbox (typically when there are multiple concurrent builds
with the same name), the *Path attribute would not point to an
existing file. This caused Nixpkgs' writeTextFile to write an empty
file. In particular this showed up as hanging VM builds (because it
would run an empty run-nixos-vm script and then wait for it to finish
booting).
Diffstat (limited to 'src/nix-env/nix-env.cc')
0 files changed, 0 insertions, 0 deletions