mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "tw-rs-${version}";
|
name = "tw-rs-${version}";
|
||||||
@ -10,7 +10,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "1s1gk2wcs3792gdzrngksczz3gma5kv02ni2jqrhib8l6z8mg9ia";
|
sha256 = "1s1gk2wcs3792gdzrngksczz3gma5kv02ni2jqrhib8l6z8mg9ia";
|
||||||
};
|
};
|
||||||
buildInputs = [ perl zlib openssl ];
|
|
||||||
|
buildInputs = [ perl zlib openssl ]
|
||||||
|
++ stdenv.lib.optional stdenv.isDarwin curl;
|
||||||
|
|
||||||
depsSha256 = "1lg1jh6f9w28i94vaj62r859g6raalxmxabvw7av6sqr0hr56p05";
|
depsSha256 = "1lg1jh6f9w28i94vaj62r859g6raalxmxabvw7av6sqr0hr56p05";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user