-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
nix flake lock refuses to create flake.lock #15634
Copy link
Copy link
Open
Labels
Description
Describe the bug
nix flake lock refuses to recreate a missing flake.lock:
$ nix flake lock
error:
… while fetching the input 'git+file:///home/julian/src/own/nix-configs'
error: path '//home/julian/src/own/nix-configs/flake.lock' does not existSteps To Reproduce
- Have a merge conflict in flake.lock
- Delete flake.lock:
rm flake.lock nix flake lock
Expected behavior
flake.lock is recreated.
Metadata
nix-env (Nix) 2.31.3
Additional context
This looks like a regression. Works with lix.
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackNo fields configured for issues without a type.