diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-11T18·03-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-11T18·03-0400 |
commit | e34518205533a90e9664d7ab3888818e669e11cd (patch) | |
tree | c38eb5ad1dbae0e369ce91da1b8b56a55b3ae1ca /src/libstore | |
parent | ecedd9c50c50bb42accf27394193bb7ef80c75b0 (diff) |
Shorten the names of temporary build directories
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index d05ff75064fe..61abd2ed216f 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1661,7 +1661,7 @@ void DerivationGoal::startBuilder() /* Create a temporary directory where the build will take 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 directory. */ |