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
nix flakes: git CRLF line endings are not handled #10640
Labels
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nix-flakes-and-line-endings/22065/10 |
MWE can very likely be reduced: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
On WSL2, CRLF line endings break flake build unless git attributes are overridden, usually resulting in a confusing
$'\r': command not found
error.Steps To Reproduce
In a NixOS-WSL instance, run
Expected behavior
devenv should be built without having to override git EOL attributes.
nix-env --version
outputnix-env (Nix) 2.18.1
Additional context
Previously reported at https://discourse.nixos.org/t/nix-flakes-and-line-endings/22065, but not strictly WSL2-related.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: