duckdb: work around the excessive logging

https://hydra.nixos.org/build/337747651#tabs-buildsteps
This commit is contained in:
Vladimír Čunát
2026-07-20 12:40:40 +02:00
parent 66567285de
commit 4f1b1fac3d
+3 -1
View File
@@ -152,11 +152,13 @@ stdenv.mkDerivation (finalAttrs: {
);
LD_LIBRARY_PATH = lib.optionalString stdenv.hostPlatform.isDarwin "DY" + "LD_LIBRARY_PATH";
in
# FIXME: do something about the excessive logging on x86_64-linux (> 250 MiB).
''
runHook preInstallCheck
(($(ulimit -n) < 1024)) && ulimit -n 1024
HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes}
HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes}${
lib.optionalString stdenv.hostPlatform.isx86_64 " >/dev/null" }
runHook postInstallCheck
'';