mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
overrides.cryptography: Fix darwin build by adding iconv
This commit is contained in:
parent
0f40952013
commit
c60eba609e
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ lib.composeManyExtensions [
|
|||
++ lib.optional (!self.isPyPy) pyBuildPackages.cffi
|
||||
++ lib.optional (lib.versionAtLeast old.version "3.5")
|
||||
(with pkgs.rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.openssl ];
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security pkgs.libiconv ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [ self.cffi ];
|
||||
} // lib.optionalAttrs (lib.versionAtLeast old.version "3.4" && lib.versionOlder old.version "3.5") {
|
||||
CRYPTOGRAPHY_DONT_BUILD_RUST = "1";
|
||||
|
|
Loading…
Add table
Reference in a new issue