mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
String .drv suffix to create derivation name
This commit is contained in:
parent
5d0b75e5b6
commit
18152406ce
6 changed files with 16 additions and 5 deletions
|
@ -474,7 +474,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
|
|||
case wopBuildDerivation: {
|
||||
auto drvPath = store->parseStorePath(readString(from));
|
||||
BasicDerivation drv;
|
||||
readDerivation(from, *store, drv, std::string(drvPath.name()));
|
||||
readDerivation(from, *store, drv, Derivation::nameFromPath(drvPath));
|
||||
BuildMode buildMode = (BuildMode) readInt(from);
|
||||
logger->startWork();
|
||||
if (!trusted)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue