mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
unsupported(): Show the name of the unsupported operation
This commit is contained in:
parent
df03430586
commit
7cc1a2593e
4 changed files with 31 additions and 76 deletions
|
@ -562,10 +562,10 @@ void Store::buildPaths(const PathSet & paths, BuildMode buildMode)
|
|||
{
|
||||
for (auto & path : paths)
|
||||
if (isDerivation(path))
|
||||
unsupported();
|
||||
unsupported("buildPaths");
|
||||
|
||||
if (queryValidPaths(paths).size() != paths.size())
|
||||
unsupported();
|
||||
unsupported("buildPaths");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue