Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

psmisc: fix cross-compiling

authored by

volth and committed by
GitHub
0653da42 f3dd3b6a

+5 -1
+5 -1
pkgs/os-specific/linux/psmisc/default.nix
··· 15 15 nativeBuildInputs = [ autoconf automake gettext ]; 16 16 buildInputs = [ ncurses ]; 17 17 18 - preConfigure = '' 18 + preConfigure = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 19 + # Goes past the rpl_malloc linking failure 20 + export ac_cv_func_malloc_0_nonnull=yes 21 + export ac_cv_func_realloc_0_nonnull=yes 22 + '' + '' 19 23 echo $version > .tarball-version 20 24 ./autogen.sh 21 25 '';