From a8d8a8f82c44ccc64210cdc07543561004b243fc Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Mon, 10 Jan 2005 15:33:43 +0000 Subject: [PATCH] don't install keys. The Nix scripts empty the whole environment, including some variables that are used by ssh-keygen. svn path=/nixpkgs/branches/nixos-pkgs/; revision=2001 --- pkgs/tools/networking/openssh/builder.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/openssh/builder.sh b/pkgs/tools/networking/openssh/builder.sh index 0573f1c6d67..d5d4cb6a1cc 100644 --- a/pkgs/tools/networking/openssh/builder.sh +++ b/pkgs/tools/networking/openssh/builder.sh @@ -3,11 +3,9 @@ configureFlags="--with-privsep-path=$out/empty" -postInstall() { - 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 +installPhase() { + make install-nokeys } -#postInstall=postInstall +installPhase=installPhase genericBuild