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
This commit is contained in:
Armijn Hemel 2004-08-30 13:53:48 +00:00
parent 38f6f36889
commit 4812b512f1

View file

@ -1,3 +1,9 @@
. $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