mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 19:29:36 +01:00
Move addPermRoot into Store
This commit is contained in:
parent
fd205fb6f8
commit
ae4a3cfa03
5 changed files with 15 additions and 16 deletions
|
|
@ -108,7 +108,7 @@ Path createGeneration(ref<Store> store, Path profile, Path outPath)
|
|||
user environment etc. we've just built. */
|
||||
Path generation;
|
||||
makeName(profile, num + 1, generation);
|
||||
addPermRoot(store, outPath, generation, false, true);
|
||||
store->addPermRoot(outPath, generation, false, true);
|
||||
|
||||
return generation;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue