diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-06-07 09:33:26 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-06-07 09:33:56 +0200 |
commit | 445b107d9399427f1df25437ff783160beed3fbb (patch) | |
tree | 36815a91be297285291ceb26531b305fc988ecbd /pkgs/tools/networking/openssh | |
parent | 9135c9f73a4c34181d2bba1455d2f432b3c49065 (diff) |
openssh: fixup build on Hydra
http://hydra.nixos.org/build/53993444
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r-- | pkgs/tools/networking/openssh/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix index 0bcb0baaab8b1..aaef2723da0c6 100644 --- a/pkgs/tools/networking/openssh/default.nix +++ b/pkgs/tools/networking/openssh/default.nix @@ -49,6 +49,13 @@ stdenv.mkDerivation rec { ] ++ optional withGssapiPatches gssapiSrc; + postPatch = + # On Hydra this makes installation fail (sometimes?), + # and nix store doesn't allow such fancy permission bits anyway. + '' + substituteInPlace Makefile.in --replace '$(INSTALL) -m 4711' '$(INSTALL) -m 0711' + ''; + buildInputs = [ zlib openssl libedit pkgconfig pam ] ++ optional withKerberos kerberos ++ optional hpnSupport autoreconfHook; |