From afecc9a625fadddecc210e844827fb19cc641133 Mon Sep 17 00:00:00 2001 From: Sophie Tauchert Date: Mon, 26 Jun 2023 23:17:57 +0200 Subject: [PATCH] pypy3Packages.cryptography: fix build under pypy --- pkgs/development/python-modules/cryptography/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cryptography/default.nix b/pkgs/development/python-modules/cryptography/default.nix index 02a960ac48f4..2ebcb9efffe2 100644 --- a/pkgs/development/python-modules/cryptography/default.nix +++ b/pkgs/development/python-modules/cryptography/default.nix @@ -52,14 +52,14 @@ buildPythonPackage rec { cargoRoot = "src/rust"; - nativeBuildInputs = lib.optionals (!isPyPy) [ - cffi - pkg-config - ] ++ [ + nativeBuildInputs = [ rustPlatform.cargoSetupHook setuptools-rust cargo rustc + pkg-config + ] ++ lib.optionals (!isPyPy) [ + cffi ]; buildInputs = [ openssl ]