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
This commit is contained in:
@@ -6,6 +6,6 @@ sed -e "s^@bash\@^$bash^g" \
|
||||
-e "s^@sshd\@^$ssh^g" \
|
||||
-e "s^@initscripts\@^$initscripts^g" \
|
||||
-e "s^@coreutils\@^$coreutils^g" \
|
||||
< $script > $out/control
|
||||
< $script > $out/$nicename
|
||||
|
||||
chmod +x $out/control
|
||||
chmod +x $out/$nicename
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ssh-script-0.0.1";
|
||||
nicename = "sshd";
|
||||
server = "ssh";
|
||||
builder = ./builder.sh ;
|
||||
inherit bash ssh initscripts coreutils;
|
||||
|
||||
Reference in New Issue
Block a user