mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
No inheritance for TextInfo
and FixedOutputInfo
This commit is contained in:
parent
85bb865d20
commit
d381248ec0
17 changed files with 33 additions and 31 deletions
|
@ -1283,7 +1283,7 @@ drvName, Bindings * attrs, Value & v)
|
|||
|
||||
auto method = ingestionMethod.value_or(FileIngestionMethod::Flat);
|
||||
auto outPath = state.store->makeFixedOutputPath(drvName, FixedOutputInfo {
|
||||
{
|
||||
.hash = {
|
||||
.method = method,
|
||||
.hash = h,
|
||||
},
|
||||
|
@ -2099,7 +2099,7 @@ static void addPath(
|
|||
std::optional<StorePath> expectedStorePath;
|
||||
if (expectedHash)
|
||||
expectedStorePath = state.store->makeFixedOutputPath(name, FixedOutputInfo {
|
||||
{
|
||||
.hash = {
|
||||
.method = method,
|
||||
.hash = *expectedHash,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue