1 2 3 4 5 6 7
{ writeBashScript, runCommand }: name: text: runCommand name { } '' mkdir -p $out/bin cp -a ${writeBashScript name text} $out/bin/${name} ''