mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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
13 lines
313 B
Nix
13 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];
|
|
}
|