1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 14:02:42 +01:00

createGeneration(): Take a StorePath

This commit is contained in:
Eelco Dolstra 2020-09-03 11:06:56 +02:00
parent 94a043ff3b
commit b74f5cdd23
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 12 additions and 7 deletions

View file

@ -151,7 +151,8 @@ bool createUserEnv(EvalState & state, DrvInfos & elems,
}
debug(format("switching to new user environment"));
Path generation = createGeneration(ref<LocalFSStore>(store2), profile, topLevelOut);
Path generation = createGeneration(ref<LocalFSStore>(store2), profile,
store2->parseStorePath(topLevelOut));
switchLink(profile, generation);
}