Allow calling flakes without a flake.lock #5

Merged
matthewbauer merged 1 commit from lockless-flake into master 2020-08-21 08:47:55 +00:00
matthewbauer commented 2020-08-20 20:53:23 +00:00 (Migrated from github.com)

If no inputs but "self" are specified, Nix will not generate a
flake.lock at all. In this case, Flakes are mostly just used to
provide a more pure Nix experience, while sources are locked through
some other means (niv, ob thunk, manually, etc.). Supporting this is a
little weird, but it ends up working for my
repo (https://github.com/matthewbauer/nixiosk).

If no inputs but "self" are specified, Nix will not generate a flake.lock at all. In this case, Flakes are mostly just used to provide a more pure Nix experience, while sources are locked through some other means (niv, ob thunk, manually, etc.). Supporting this is a little weird, but it ends up working for my repo (https://github.com/matthewbauer/nixiosk).
Sign in to join this conversation.
No description provided.