libvisual: fix null malloc check on cross

this is needed to build
This commit is contained in:
Matthew Bauer 2020-03-07 17:12:03 -05:00
parent 024877e7b2
commit a656aeb7f1

View File

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
meta = {
description = "An abstraction library for audio visualisations";
homepage = https://sourceforge.net/projects/libvisual/;