Because it's "a proper language" [1]. Not to mention webscale!

It does seem to do some more complex stuff now that would've been annoying, but not impossible, to write as a shell script.

[1]: https://github.com/nix-community/comma/pull/19