From 5f63ac02e36ef6528814d9aa4fb1dfee2c538c96 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 29 Jun 2022 09:47:11 +0000 Subject: [PATCH] pkgsMusl.libical: fix build by disabling tests We can't support running tests on Musl until TZDIR support is added. --- pkgs/development/libraries/libical/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix index 012a3e435dd9..48e611a34821 100644 --- a/pkgs/development/libraries/libical/default.nix +++ b/pkgs/development/libraries/libical/default.nix @@ -81,7 +81,8 @@ stdenv.mkDerivation rec { # Using install check so we do not have to manually set # LD_LIBRARY_PATH and GI_TYPELIB_PATH variables - doInstallCheck = true; + # Musl does not support TZDIR. + doInstallCheck = !stdenv.hostPlatform.isMusl; enableParallelChecking = false; preInstallCheck = if stdenv.isDarwin then '' for testexe in $(find ./src/test -maxdepth 1 -type f -executable); do