mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
f8268cbe16
A test added recently checks that when trying to deserialize a NAR with two files that Unicode-normalize to the same result either succeeds on Linux, or fails with an "already exists" error on Darwin. However, failing with an "already exists" error can in fact also happen on Linux, when using ZFS with the proper utf8 and Unicode normalization options set. This commit fixes the issue by not assuming the behavior from the current system, but just by blindly checking that either one of the two aforementioned possibilities happen, whether on Darwin or on Linux. Additionally, we check that the Unicode normalization behaviour of nix-store is the same as the host file system. |
||
---|---|---|
.. | ||
functional | ||
installer | ||
nixos | ||
unit | ||
repl-completion.nix |