3.1b1 Unicode wide char issue when built with Nix #6584
Labels
bug
Something that's not working as intended
regression
Something that used to work, but was broken, especially between releases
Milestone
When building the 3.1b1 "release" with Nix, the resulting binary displays the following warning when the prompt contains a unicode character such as
λ
or❯
**:Bisecting the issue, this problem appears to have been introduced with 5134949. 9715db9 (the previous commit) doesn't display this problem.
Something to note is that this issue does not occur when building outside of a Nix environment (aka as detailed in the README) -- the specified characters fail to display at all. It is entirely possible this is a problem with my system due to the fact that it is not pure NixOS and instead Nix + Arch, but I figured the people who would know best are you.
**Note: I tested both Starship and Pure prompts, and both exhibited this behavior.(any Unicode character exhibits this problem)STR
default.nix
to be built withnix-build
)sh -c 'env HOME=$(mktemp -d) ./result/bin/fish'
function fish_prompt; echo λ; end
<W> fish: Tried to print invalid wide character string
For what it's worth, the message on master (6682f0e) is:
The text was updated successfully, but these errors were encountered: