1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-23 02:39:37 +01:00

libutil: Implement second overload of createDirectory for RestoreSink

Now the intermediate symlink following issue should be completely plugged.
This commit is contained in:
Sergei Zimmerman 2025-11-20 02:03:19 +03:00
parent 09755e696a
commit 40b25153b8
No known key found for this signature in database
3 changed files with 28 additions and 1 deletions

View file

@ -114,7 +114,7 @@ if (( unicodeTestCode == 1 )); then
# If the command failed (MacOS or ZFS + normalization), checks that it failed
# with the expected "already exists" error, and that this is the same
# behavior as `touch`
echo "$unicodeTestOut" | grepQuiet "path '.*/out/â' already exists"
echo "$unicodeTestOut" | grepQuiet "creating directory '.*/out/â': File exists"
(( touchFilesCount == 1 ))
elif (( unicodeTestCode == 0 )); then