1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

nix flake prefetch: Remove __final

This is currently an internal attribute, not intended to be shown to
users.

Fixes #13150.
This commit is contained in:
Eelco Dolstra 2025-05-09 16:44:48 +02:00
parent 1e822bd414
commit c686de6505

View file

@ -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').",