mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02:00
Shorten the names of temporary build directories
This commit is contained in:
parent
ecedd9c50c
commit
e345182055
1 changed files with 1 additions and 1 deletions
|
@ -1661,7 +1661,7 @@ void DerivationGoal::startBuilder()
|
||||||
|
|
||||||
/* Create a temporary directory where the build will take
|
/* Create a temporary directory where the build will take
|
||||||
place. */
|
place. */
|
||||||
tmpDir = createTempDir("", "nix-build-" + baseNameOf(drvPath), false, false, 0700);
|
tmpDir = createTempDir("", "nix-build-" + storePathToName(drvPath), false, false, 0700);
|
||||||
|
|
||||||
/* For convenience, set an environment pointing to the top build
|
/* For convenience, set an environment pointing to the top build
|
||||||
directory. */
|
directory. */
|
||||||
|
|
Loading…
Reference in a new issue