nixpkgs/pkgs/servers/network-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
189 B
Bash

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