mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
because it breaks evaluation on darwin with at least nix 2.18. Evaluating `lib.splitString "" "foo"` throws the following: `error: invalid regular expression ''`. We could avoid that by using lib.stringToCharacters, but as we are mapping over it anyway, lib.stringAsChars seems to be an even better fit. I tested the examples in hexEscapeUdevSymlinks docstring manually in a nix repl.