-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tracking issue] remove all src = ./.
entries that unintentionally include their own .nix
files
#301014
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/call-for-testing-nix-formatter/39179/21 |
Did a quick check for false positives, found four: Uses
|
Thanks! I updated the listing to check those off. |
Note that we can use the new |
src = ./.
entries that unintentionally include their own .nix
filessrc = ./.
entries that unintentionally include their own .nix
files
Fixes issue described in NixOS#301014
Issue description
Derivations that use
src = ./.
will be rebuilt on any change to the.nix
file that includes them, including formatting changes caused bynixfmt-rfc-style
for RFC 166.List of files where this may be the case
Generated with
rg -F 'src = ./.' --sort=path -l -tnix
and not very thoroughly audited. Unchecked entries need work or attention.cleanSourceWith
)cleanSourceWith
)cleanSourceWith
)The text was updated successfully, but these errors were encountered: