Regex supported by `builtins.match` differ on Linux and Darwin (see NixOS/Nix#1537) and the empty match group errors on Darwin. But simply removing it does not change the logic in the module in any way.