collectd: support cross compile
Prevent the double memory layout check from running during cross compile. Provide an answer that works for both x86_64 and aarch64.
This commit is contained in:
parent
73268cc1b4
commit
578f540e4b
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--disable-werror"
|
||||
] ++ plugins.configureFlags;
|
||||
] ++ plugins.configureFlags
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ "--with-fp-layout=nothing" ];
|
||||
|
||||
# do not create directories in /var during installPhase
|
||||
postConfigure = ''
|
||||
|
|
Loading…
Reference in a new issue