Skip to content

Commit

Permalink
tweak: More attempts to get OpenSSL to build in Nix
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Jul 14, 2024
1 parent 2bf19bf commit b07f145
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,11 @@
++ lib.optionals pkgs.stdenv.isDarwin [
pkgs.libiconv
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
]
++ lib.optionals pkgs.stdenv.isLinux [
pkgs.perl
];

cargoExtraArgs = if pkgs.stdenv.isLinux then "--features=openssl_src" else "";

# Additional environment variables can be set directly
# MY_CUSTOM_VAR = "some value";
OPENSSL_DIR = pkgs.openssl.dev;
};

craneLibLLvmTools = craneLib.overrideToolchain
Expand Down

0 comments on commit b07f145

Please sign in to comment.