mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 06:31:00 +01:00
Include compression in the NarInfo JSON format
It was forgotten before.
This commit is contained in:
parent
937e02e7b9
commit
a7212e169b
3 changed files with 7 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ static NarInfo makeNarInfo(const Store & store, bool includeImpureInfo) {
|
|||
info.sigs = { "asdf", "qwer" };
|
||||
|
||||
info.url = "nar/1w1fff338fvdw53sqgamddn1b2xgds473pv6y13gizdbqjv4i5p3.nar.xz";
|
||||
info.compression = "xz";
|
||||
info.fileHash = Hash::parseSRI("sha256-FePFYIlMuycIXPZbWi7LGEiMmZSX9FMbaQenWBzm1Sc=");
|
||||
info.fileSize = 4029176;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue