mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 13:27:48 +00:00
transmission-rss: fix build on darwin
This commit is contained in:
parent
90621f1d9d
commit
0028fc6a5e
@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
version = "0.3.1";
|
||||
@ -16,7 +16,11 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoSha256 = "sha256-QNMdqoxxY8ao2O44hJxZNgLrPwzu9+ieweTPc7pfFY4=";
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
buildInputs = [openssl];
|
||||
buildInputs = [openssl]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
Security
|
||||
SystemConfiguration
|
||||
]);
|
||||
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user