From 7637e086a071f5a9bce7ed36e4c8244d00a82685 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 25 Oct 2026 11:05:16 -0400 Subject: [PATCH] python3Packages.pyiceberg-core: fix system libs Assisted-by: Pi (gpt-6.1-sol) --- pkgs/development/python-modules/pyiceberg-core/default.nix | 5 +++++ pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyiceberg-core/default.nix b/pkgs/development/python-modules/pyiceberg-core/default.nix index e73f3345e1c8..40b1d2199a4d 100644 --- a/pkgs/development/python-modules/pyiceberg-core/default.nix +++ b/pkgs/development/python-modules/pyiceberg-core/default.nix @@ -3,6 +3,8 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, + pkg-config, + zstd, # tests datafusion, @@ -47,8 +49,11 @@ buildPythonPackage (finalAttrs: { nativeBuildInputs = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook + pkg-config ]; + buildInputs = [ zstd ]; + pythonImportsCheck = [ "pyiceberg_core" ]; nativeCheckInputs = [ diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 378a677b40eb..24f75e8e39a6 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15299,7 +15299,9 @@ self: super: with self; { pyiceberg = callPackage ../development/python-modules/pyiceberg { }; - pyiceberg-core = callPackage ../development/python-modules/pyiceberg-core { }; + pyiceberg-core = callPackage ../development/python-modules/pyiceberg-core { + inherit (pkgs) zstd; + }; pyicloud = callPackage ../development/python-modules/pyicloud { };