Skip to content

Commit

Permalink
python-modules/cryptography: fix cross-build
Browse files Browse the repository at this point in the history
The rustPlatform.rustc has both host and target set to build platform.
The rustc has build and host platform same but target is correctly set
for cross compilation.
  • Loading branch information
Cynerd committed Jun 30, 2023
1 parent 9d663f7 commit f5f80fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/cryptography/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
, rustPlatform
, cargo
, rustc
, setuptools-rust
, setuptoolsRustBuildHook
, openssl
, Security
, isPyPy
Expand Down Expand Up @@ -54,7 +54,7 @@ buildPythonPackage rec {

nativeBuildInputs = [
rustPlatform.cargoSetupHook
setuptools-rust
setuptoolsRustBuildHook
cargo
rustc
pkg-config
Expand Down

0 comments on commit f5f80fa

Please sign in to comment.