mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
Add name to BasicDerivation
We always have a name for BasicDerivation, since we have a derivation store path that has a name.
This commit is contained in:
parent
7d8d78f06a
commit
af95a7c16b
6 changed files with 21 additions and 14 deletions
|
@ -914,9 +914,9 @@ static void opServe(Strings opFlags, Strings opArgs)
|
|||
|
||||
if (!writeAllowed) throw Error("building paths is not allowed");
|
||||
|
||||
auto drvPath = store->parseStorePath(readString(in)); // informational only
|
||||
auto drvPath = store->parseStorePath(readString(in));
|
||||
BasicDerivation drv;
|
||||
readDerivation(in, *store, drv);
|
||||
readDerivation(in, *store, drv, std::string(drvPath.name()));
|
||||
|
||||
getBuildSettings();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue