Skip to content

Commit

Permalink
tw-rs: fix darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit 8a0d857)
  • Loading branch information
LnL7 committed Sep 22, 2017
1 parent 71f5290 commit a8214f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/misc/tw-rs/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl }:
{ stdenv, fetchFromGitHub, rustPlatform, perl, zlib, openssl, curl }:

rustPlatform.buildRustPackage rec {
name = "tw-rs-${version}";
Expand All @@ -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";

Expand Down

0 comments on commit a8214f6

Please sign in to comment.