mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
copyPaths: Pass store by reference
This commit is contained in:
parent
8d9f7048cd
commit
668abd3e57
8 changed files with 81 additions and 54 deletions
|
@ -397,7 +397,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
pathsToCopy.insert(src);
|
||||
}
|
||||
|
||||
copyClosure(evalStore, store, pathsToCopy);
|
||||
copyClosure(*evalStore, *store, pathsToCopy);
|
||||
|
||||
buildPaths(pathsToBuild);
|
||||
|
||||
|
@ -564,7 +564,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
drvMap[drvPath] = {drvMap.size(), {outputName}};
|
||||
}
|
||||
|
||||
copyClosure(evalStore, store, drvsToCopy);
|
||||
copyClosure(*evalStore, *store, drvsToCopy);
|
||||
|
||||
buildPaths(pathsToBuild);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue