nixpkgs/pkgs/servers/ssh-script/builder.sh
Armijn Hemel 9a198b5192 more script work. Now what we need is:
* generic functions to register with the system, good for "weak dependencies"

svn path=/nixpkgs/trunk/; revision=5009
2006-03-08 19:38:12 +00:00

11 lines
233 B
Bash

source $stdenv/setup
ensureDir $out
sed -e "s^@bash\@^$bash^g" \
-e "s^@sshd\@^$ssh^g" \
-e "s^@initscripts\@^$initscripts^g" \
-e "s^@coreutils\@^$coreutils^g" \
< $script > $out/$nicename
chmod +x $out/$nicename