mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +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
|
@ -916,7 +916,7 @@ static void opServe(Strings opFlags, Strings opArgs)
|
|||
|
||||
auto drvPath = store->parseStorePath(readString(in));
|
||||
BasicDerivation drv;
|
||||
readDerivation(in, *store, drv, std::string(drvPath.name()));
|
||||
readDerivation(in, *store, drv, Derivation::nameFromPath(drvPath));
|
||||
|
||||
getBuildSettings();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue