mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
libcmd: Installable::toStorePaths -> Installable::toStorePathSet
This commit is contained in:
parent
8e64cd59b0
commit
5ed1884875
3 changed files with 5 additions and 5 deletions
|
@ -715,7 +715,7 @@ BuiltPaths Installable::toBuiltPaths(
|
|||
}
|
||||
}
|
||||
|
||||
StorePathSet Installable::toStorePaths(
|
||||
StorePathSet Installable::toStorePathSet(
|
||||
ref<Store> evalStore,
|
||||
ref<Store> store,
|
||||
Realise mode, OperateOn operateOn,
|
||||
|
@ -735,7 +735,7 @@ StorePath Installable::toStorePath(
|
|||
Realise mode, OperateOn operateOn,
|
||||
ref<Installable> installable)
|
||||
{
|
||||
auto paths = toStorePaths(evalStore, store, mode, operateOn, {installable});
|
||||
auto paths = toStorePathSet(evalStore, store, mode, operateOn, {installable});
|
||||
|
||||
if (paths.size() != 1)
|
||||
throw Error("argument '%s' should evaluate to one store path", installable->what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue