nixpkgs/pkgs/tools/networking/openssh/builder.sh
Armijn Hemel 4812b512f1 remove the generated keys (good? bad? not sure) and change the permissions of
the keysign binary. This is because of suid-nix on which the NixOS scripts barf

svn path=/nixpkgs/trunk/; revision=1366
2004-08-30 13:53:48 +00:00

10 lines
279 B
Bash

. $stdenv/setup
configureFlags="--with-privsep-path=$out/empty"
genericBuild
rm $out/etc/ssh_host_dsa_key $out/etc/ssh_host_dsa_key.pub $out/etc/ssh_host_key $out/etc/ssh_host_key.pub $out/etc/ssh_host_rsa_key $out/etc/ssh_host_rsa_key.pub
chmod +r $out/libexec/ssh-keysign