mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Merge pull request #13161 from NixOS/remove-final
nix flake prefetch: Remove __final
This commit is contained in:
commit
ed521760bc
2 changed files with 3 additions and 1 deletions
|
@ -1497,6 +1497,7 @@ struct CmdFlakePrefetch : FlakeCommand, MixJSON
|
|||
res["hash"] = hash.to_string(HashFormat::SRI, true);
|
||||
res["original"] = fetchers::attrsToJSON(resolvedRef.toAttrs());
|
||||
res["locked"] = fetchers::attrsToJSON(lockedRef.toAttrs());
|
||||
res["locked"].erase("__final"); // internal for now
|
||||
printJSON(res);
|
||||
} else {
|
||||
notice("Downloaded '%s' to '%s' (hash '%s').",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue