Open
Description
Is your feature request related to a problem?
Host paths are not reproducible, so they're not a good source for flake inputs.
Proposed solution
Disallow writing path
input to lock file. Throw an error.
Maybe have a flag --allow-unreproducible-local-path-input
for the use case where users are testing something locally and they can't pass --override-input
for whatever reason (getFlake
, non-interactive Nix use, direnv, not-great CLIs, etc).
Alternative solutions
Additional context
May also solve
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.