openssh: fixup build on Hydra

http://hydra.nixos.org/build/53993444
This commit is contained in:
Vladimír Čunát 2017-06-07 09:33:26 +02:00
parent 9135c9f73a
commit 445b107d93
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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;