Skip to content

Commit a8214f6

Browse files
committedSep 22, 2017
tw-rs: fix darwin build
(cherry picked from commit 8a0d857)
1 parent 71f5290 commit a8214f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎pkgs/misc/tw-rs/default.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl }:
1+
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl, curl }:
22

33
rustPlatform.buildRustPackage rec {
44
name = "tw-rs-${version}";
@@ -10,7 +10,9 @@ rustPlatform.buildRustPackage rec {
1010
rev = "${version}";
1111
sha256 = "1s1gk2wcs3792gdzrngksczz3gma5kv02ni2jqrhib8l6z8mg9ia";
1212
};
13-
buildInputs = [ perl zlib openssl ];
13+
14+
buildInputs = [ perl zlib openssl ]
15+
++ stdenv.lib.optional stdenv.isDarwin curl;
1416

1517
depsSha256 = "1lg1jh6f9w28i94vaj62r859g6raalxmxabvw7av6sqr0hr56p05";
1618

0 commit comments

Comments
 (0)
Please sign in to comment.