tw-rs: fix darwin build
This commit is contained in:
parent
a7440aa7c6
commit
8a0d857aa9
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl, curl }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "tw-rs-${version}";
|
||||
@ -10,7 +10,9 @@ rustPlatform.buildRustPackage rec {
|
||||
rev = "${version}";
|
||||
sha256 = "1s1gk2wcs3792gdzrngksczz3gma5kv02ni2jqrhib8l6z8mg9ia";
|
||||
};
|
||||
buildInputs = [ perl zlib openssl ];
|
||||
|
||||
buildInputs = [ perl zlib openssl ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin curl;
|
||||
|
||||
depsSha256 = "1lg1jh6f9w28i94vaj62r859g6raalxmxabvw7av6sqr0hr56p05";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user