autossh: fix for cross compilation

This commit is contained in:
Michael Eden 2019-03-16 11:53:49 -04:00
parent 33e9fa2367
commit f17231ba57

View File

@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz";
};
buildInputs = [ openssh ];
preConfigure = ''
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
'';
nativeBuildInputs = [ openssh ];
installPhase =
''