From cecb1a945d465490fec92d76a2ff5fcddaa014b1 Mon Sep 17 00:00:00 2001 From: ghpzin Date: Thu, 18 Dec 2025 17:58:01 +0300 Subject: [PATCH] arrow-cpp: fix arrow-azurefs-test - add `azurite` to `nativeInstallCheckInputs` with `enableAzure` Fixes run of `arrow-azurefs-test`: ``` [----------] 6 tests from TestAzureFileSystemOnAllEnvs/0, where TypeParam = arrow::fs::TestingScenario [ RUN ] TestAzureFileSystemOnAllEnvs/0.DetectHierarchicalNamespace /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:901: Failure Value of: _st.ok() Actual: false Expected: true '_error_or_value58.status()' failed with IOError: Failed to find 'azurite' in PATH /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:174 self->server_process_->SetExecutable("azurite") /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:108 AzureEnvClass::Make() /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:892 GetAzureEnv() WARNING: Logging before InitGoogleLogging() is written to STDERR F20251218 15:54:18.988654 140737274596864 result.cc:27] ValueOrDie called on an error: IOError: Failed to find 'azurite' in PATH /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:174 self->server_process_->SetExecutable("azurite") /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:108 AzureEnvClass::Make() /build/source/cpp/src/arrow/filesystem/azurefs_test.cc:892 GetAzureEnv() *** Check failure stack trace: *** /build/source/cpp/build/src/arrow/filesystem ... The following tests FAILED: 76 - arrow-azurefs-test (Failed) arrow-tests filesystem unittest Errors while running CTest ``` --- pkgs/by-name/ar/arrow-cpp/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ar/arrow-cpp/package.nix b/pkgs/by-name/ar/arrow-cpp/package.nix index 330eb4d44c74..64ac4b96483d 100644 --- a/pkgs/by-name/ar/arrow-cpp/package.nix +++ b/pkgs/by-name/ar/arrow-cpp/package.nix @@ -18,6 +18,7 @@ ]; }, azure-sdk-for-cpp, + azurite, boost, brotli, bzip2, @@ -284,7 +285,8 @@ stdenv.mkDerivation (finalAttrs: { sqlite ] ++ lib.optionals enableS3 [ minio ] - ++ lib.optionals enableFlight [ python3 ]; + ++ lib.optionals enableFlight [ python3 ] + ++ lib.optionals enableAzure [ azurite ]; installCheckPhase = let