aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/writeBashScriptBin.nix
blob: 33b9bf66fad5a3e62392de8cd7e5edfdce4e8451 (plain)
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}
''