How to list all flake inputs you manually locked?

nix flake metadata is too big and I dont know how to read it, I tried:
nix flake metadata --json | jq '.locks.nodes | to_entries[] | select(.value.locked) | .key'
but that just shown me the names of all flakes as they are all technically locked, but none i manually locked, the reason i need to know is that I need to unlock them to see if i can update a input without errors
(I locked flake inputs with nix flake lock lock --update-input )

“Manually locked” doesn’t mean anything in terms of the state of the flake. Things are just locked to whatever they’re locked to. There’s no recording of how or why they were locked.

Well when you lock a flake with nix flake lock --update-input <input name>, next time you run nix flake update the flake you locked is not updated, basically I would like a command which could tell me which inputs fall under this catagory

This is certainly news to me, if true. Verify that in a controlled environment. I’m pretty sure you’re just wrong about that.

1 Like

If fhat’s really the case, you should beable to diff before/after the lock to see what changed.

But most likely that’s just not the case, you’re probably running into tarball-ttl or something.