[Nix-dev] Use Haskell for Shell Scripting

Ertugrul Söylemez ertesx at gmx.de
Sun Feb 1 01:24:14 CET 2015


> What about other languages as Python, Perl etc.? I know it is against
> our purity standards, but they are a far superior to Bash scripting.

Well, that's the current state of the art.  They are both used in
Nixpkgs and some Nix-related tools.  They are an improvement over Bash
scripting, but I believe we might as well go all the way and use a
functional language.

Also the Nix model allows us to compile all our scripts easily (just
apply a function), which might hold some benefit in terms of startup and
switch times.  There is little reason to use interpreted scripts when
you have a fast compiler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150201/bde7ad29/attachment.bin 


More information about the nix-dev mailing list