From 3b4df94aeb6e215085d08e3d5b0edc1313b9f584 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 2 Jul 2020 21:34:20 +0200 Subject: [PATCH] python.pkgs.zstandard: use libzstd instead of python zstd --- pkgs/development/python-modules/zstandard/default.nix | 3 ++- pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zstandard/default.nix b/pkgs/development/python-modules/zstandard/default.nix index bcac246e8f62..75c847624315 100755 --- a/pkgs/development/python-modules/zstandard/default.nix +++ b/pkgs/development/python-modules/zstandard/default.nix @@ -15,7 +15,8 @@ buildPythonPackage rec { sha256 = "e5cbd8b751bd498f275b0582f449f92f14e64f4e03b5bf51c571240d40d43561"; }; - propagatedBuildInputs = [ cffi zstd ]; + buildInputs = [ zstd ]; + propagatedBuildInputs = [ cffi ]; checkInputs = [ hypothesis ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dc40a0668a7c..f272c88315f4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7298,7 +7298,9 @@ in { inherit (pkgs) zstd pkgconfig; }; - zstandard = callPackage ../development/python-modules/zstandard { }; + zstandard = callPackage ../development/python-modules/zstandard { + inherit (pkgs) zstd; + }; zxcvbn = callPackage ../development/python-modules/zxcvbn { };