Skip to content

Commit

Permalink
overrides: add maturin to cryptography build inputs for >=43
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Froger <[email protected]>
  • Loading branch information
nfroger authored and adisbladis committed Jul 29, 2024
1 parent 1f6c109 commit bc0166a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ lib.composeManyExtensions [
++ lib.optionals (lib.versionAtLeast old.version "3.4") [ final.setuptools-rust ]
++ lib.optionals (!final.isPyPy) [ pyBuildPackages.cffi ]
++ lib.optionals (lib.versionAtLeast old.version "3.5" && !isWheel) [ pkgs.rustPlatform.cargoSetupHook pkgs.cargo pkgs.rustc ]
++ lib.optionals (lib.versionAtLeast old.version "43" && !isWheel) [ pkgs.rustPlatform.maturinBuildHook ]
++ [ pkg-config ]
;
buildInputs = old.buildInputs or [ ]
Expand Down

0 comments on commit bc0166a

Please sign in to comment.