304f3fbe9d
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
12 lines
313 B
Nix
12 lines
313 B
Nix
{stdenv, ssh, bash, initscripts, coreutils, key ? null, syslog ? null, networking}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ssh-script-0.0.1";
|
|
nicename = "sshd";
|
|
server = "ssh";
|
|
builder = ./builder.sh ;
|
|
softdeps = [syslog];
|
|
deps = [networking];
|
|
inherit bash ssh initscripts coreutils;
|
|
script = [./sshd];
|
|
}
|