summary refs log tree commit diff
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-11-03 01:44:38 +0100
committerGitHub <noreply@github.com>2023-11-03 01:44:38 +0100
commit38cc0ce48538872355f41e7e61b47483974c1528 (patch)
tree7b07b168ab17bb7726b50274b24b4d677d232f3d
parentc80e20c2832efeb937761b808470f327a18f0888 (diff)
downloadnixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar.gz
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar.bz2
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar.lz
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar.xz
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.tar.zst
nixpkgs-38cc0ce48538872355f41e7e61b47483974c1528.zip
jemalloc: disable tests for pkgsStatic (#265093)
-rw-r--r--pkgs/development/libraries/jemalloc/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/jemalloc/default.nix b/pkgs/development/libraries/jemalloc/default.nix
index b4625abcd69..8a3b8658fbb 100644
--- a/pkgs/development/libraries/jemalloc/default.nix
+++ b/pkgs/development/libraries/jemalloc/default.nix
@@ -50,7 +50,8 @@ stdenv.mkDerivation rec {
   env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=array-bounds";
   env.NIX_LDFLAGS = lib.optionalString (stdenv.cc.libcxx != null) "-l${stdenv.cc.libcxx.cxxabi.libName}";
 
-  doCheck = true;
+  # Tries to link test binaries binaries dynamically and fails
+  doCheck = !stdenv.hostPlatform.isStatic;
 
   enableParallelBuilding = true;