mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 07:12:27 +00:00
Fix content-addressed flake outputs
Prevent some `nix flake` commands to crash by trying to parse a placeholder output as a store path
This commit is contained in:
parent
00eef55993
commit
11b63740e3
@ -501,7 +501,7 @@ std::tuple<std::string, FlakeRef, InstallableValue::DerivationInfo> InstallableF
|
||||
|
||||
auto drvInfo = DerivationInfo{
|
||||
std::move(drvPath),
|
||||
state->store->parseStorePath(attr->getAttr(state->sOutPath)->getString()),
|
||||
state->store->maybeParseStorePath(attr->getAttr(state->sOutPath)->getString()),
|
||||
attr->getAttr(state->sOutputName)->getString()
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user