`nix profile` `flake.lock`?

Are there flake.locks for flakes installed imperatively in my profile using nix profile? I would have assumed that they exist, and running nix profile upgrade operates on them. Is this the case? If so, where are they located?

1 Like

I doubt there is an flake.lock, instead your flakes are simply build and registered as GC root in your profile.

1 Like

Ok, thank you. I guess my mental model around this is a bit fuzzy, and I had assumed the lock file was a fundamental part of how flakes work/how the version we’re currently using is tracked.

Hosted by Flying Circus.