gen6dns: fix cross compilation

This commit is contained in:
Majiir Paktu 2023-12-17 17:36:53 -05:00
parent d2eb12c428
commit 0f0bfa8344

View file

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
installManPage gen6dns.1
'';
configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
];
makeFlags = [ "INSTALL_DIR=$(out)/bin" ];
meta = with lib; {