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 ❯**:
<W> fish: Tried to print invalid wide character string
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
- Build fish-shell with Nix (
default.nix to be built with nix-build)
- Run
sh -c 'env HOME=$(mktemp -d) ./result/bin/fish'
- Run
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:
warning: Tried to print invalid wide character string
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.nixto 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 stringFor what it's worth, the message on master (6682f0e) is: