mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 05:56:03 +01:00
Remove StorePath::clone() and related functions
This commit is contained in:
parent
df4da4f5da
commit
29542865ce
34 changed files with 201 additions and 304 deletions
|
|
@ -134,7 +134,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems,
|
|||
/* Realise the resulting store expression. */
|
||||
debug("building user environment");
|
||||
std::vector<StorePathWithOutputs> topLevelDrvs;
|
||||
topLevelDrvs.push_back(StorePathWithOutputs{topLevelDrv.clone()});
|
||||
topLevelDrvs.push_back({topLevelDrv});
|
||||
state.store->buildPaths(topLevelDrvs, state.repair ? bmRepair : bmNormal);
|
||||
|
||||
/* Switch the current user environment to the output path. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue