utf8
utf8 copied to clipboard
Library fails with Nix ≥ 2.19 due to null bytes in table.nix
In my consumer repo I'm hitting:
error: input string '␀' cannot be represented as Nix string because it contains null bytes
at «github:figsoda/utf8/ce04eef066a4a682f2ef0eba8e56e4da9b8f14aa?narHash=sha256-iRl5NcyN8coR464CLNGWx9I3YWYIsk45JY6dFJVbcF8%3D»/nix/store/iryq2dkiw2gxiz1xzx3plfrwx2mlacjq-source/table.nix:3:4:
2| {
3| "" = 1;
| ^
4| "" = 1;
You might need to use { "\x00" = 1; } instead of { "" = 1; }
Also see https://github.com/NixOS/nix/pull/12024