[Nix-dev] Dynamic Dependency Management by Calling External Programs from Nix

Peter Simons simons at cryp.to
Tue Oct 25 19:15:18 CEST 2011


Hi Shea,

 > 1. builtins.exec. This builtin would take a string and would evaluate
 >    to a string. It would essentially call system() on its argument and
 >    evaluate to the output put to stdout by that command.

I am not expert in these matters, so please bear with me if this is
stupid question, but I wonder in what way exec would be different from
runCommand? How do these two functions compare?

Take care,
Peter



More information about the nix-dev mailing list