nixpkgs/pkgs/servers/ssh-script/builder.sh
Armijn Hemel 304f3fbe9d some small changes...probably the way it is done now (declaring the
dependencies, such as "networking" in Nix expressions) is not entirely
right, at least, trying to start them from for example this SSH script is
not the right way. A cleaner solution is being developed :)

svn path=/nixpkgs/trunk/; revision=5034
2006-03-14 13:44:28 +00:00

12 lines
270 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" \
-e "s^@softdeps\@^$softdeps^g" \
< $script > $out/$nicename
chmod +x $out/$nicename