Fix elm-json build on Darwin
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ rustPlatform, fetchurl, openssl, stdenv, pkg-config }:
|
||||
{ lib, rustPlatform, fetchurl, openssl, stdenv, pkg-config, Security }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "elm-json";
|
||||
version = "0.2.7";
|
||||
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoSha256 = "0ylniriq073kpiykamkn9mxdaa6kyiza4pvf7gnfq2h1dvbqa6z7";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user