mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
ValidPathInfo, NarInfo, turn funky constructor into static method
This is more flexible, and needed for me to be able to reshuffle the inheritance bureaucracy to make the JSON instances more precise.
This commit is contained in:
parent
465d627f7f
commit
74be28820c
14 changed files with 44 additions and 50 deletions
|
|
@ -274,7 +274,7 @@ VERSIONED_CHARACTERIZATION_TEST(
|
|||
info;
|
||||
}),
|
||||
({
|
||||
ValidPathInfo info{
|
||||
auto info = ValidPathInfo::makeFromCA(
|
||||
store,
|
||||
"foo",
|
||||
FixedOutputInfo{
|
||||
|
|
@ -291,8 +291,7 @@ VERSIONED_CHARACTERIZATION_TEST(
|
|||
.self = true,
|
||||
},
|
||||
},
|
||||
Hash::parseSRI("sha256-FePFYIlMuycIXPZbWi7LGEiMmZSX9FMbaQenWBzm1Sc="),
|
||||
};
|
||||
Hash::parseSRI("sha256-FePFYIlMuycIXPZbWi7LGEiMmZSX9FMbaQenWBzm1Sc="));
|
||||
info.deriver = StorePath{
|
||||
"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue