Commit 0f0bfa83 authored by Majiir Paktu's avatar Majiir Paktu
Browse files

gen6dns: fix cross compilation

parent d2eb12c4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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; {