anchor.diff:    # It's weird that the build isn't failing because of failure to compile dependencies, it's from failure to link them!
     makeFlags = [ "PREFIX=$(out)" ]
       ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" "MALLOC=libc" ]
  -    ++ lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) ["USE_SYSTEMD=yes"]
  +    ++ lib.optional withSystemd [ "USE_SYSTEMD=yes" ]
       ++ lib.optionals tlsSupport [ "BUILD_TLS=yes" ];
   
     enableParallelBuilding = true;
  
positive.code:   nativeBuildInputs = [ pkg-config ];
  
    buildInputs = [ lua ]
      ++ lib.optional (stdenv.isLinux && !stdenv.hostPlatform.isMusl) systemd
      ++ lib.optionals tlsSupport [ openssl ];
    # More cross-compiling fixes.
    # Note: this enables libc malloc as a temporary fix for cross-compiling.
  
negative.code: { lib, stdenv, fetchurl, lua, pkg-config, nixosTests
  , withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, systemd
  , tlsSupport ? true, openssl
  }:
  
  