Most of the code is this directory was written by several people for the Nix project (http://nixos.org/nix). Thanks!