Interacting with flakes fails in directories with non-ASCII UTF-8 characters #562
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#562
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?
Describe the bug
When I run flake-related operations in a directory that has special characters anywhere in its path, Lix fails to properly encode those to Git, apparently escaping them improperly.
Steps To Reproduce
git init && nix flake init
)nix build
)Expected behavior
I can interact with the flake like usual.
nix --version
outputnix (Lix, like Nix) 2.91.1
Additional context
None.
oh. i know why this happens. it's because the stuff gets urlencoded because of the overall abuses of URLs in flakes and fetchTree. that's rather horrifying nonetheless and it should be fixed.
This seems easy enough to try to fix this myself actually. So perhaps I'll give it a go.
This issue was mentioned on Gerrit on the following CLs:
Interacting with flakes fails in directories with special charactersto Interacting with flakes fails in directories with non-ASCII UTF-8 characters