Fix nix-doc
line ending handling #220
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#220
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While the logic to support all the valid Nix line endings (
\n
,\r
, and\r\n
) was added to the initial position finding code, the rest of the code was not updated which means this logic still will have oddities if someone has used non-standard Nix line endings.This is not a priority as actual usage of these line endings in the wild is minimal to nonexistent but it should still be made correct.
The easiest fix would be to implement an extension to allow a
nix_lines()
split of an&str
producing an interator that can be consumed by all the functions expecting lines.