override the default builder (i.e., bash). For example, stdenv.mkDerivation { realBuilder = perl ~ "bin/perl"; args = [ "-w" ./builder.pl ]; } svn path=/nixpkgs/trunk/; revision=3219