Skip to content

Commit

Permalink
Merge pull request #41770 from marsam/feature/synapse-bt-enable-darwin
Browse files Browse the repository at this point in the history
synapse-bt: fix darwin build
  • Loading branch information
LnL7 committed Jun 9, 2018
2 parents e20abf8 + d5ca8de commit 91be6b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/networking/p2p/synapse-bt/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:

rustPlatform.buildRustPackage rec {
name = "synapse-bt-unstable-${version}";
Expand All @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {

cargoSha256 = "1psrmgf6ddzqwx7gf301rx84asfnvxpsvkx2fan453v65819k960";

buildInputs = [ pkgconfig openssl ];
buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;

cargoBuildFlags = [ "--all" ];

Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17187,7 +17187,9 @@ with pkgs;
inherit (gnome3) libgee;
};

synapse-bt = callPackage ../applications/networking/p2p/synapse-bt { };
synapse-bt = callPackage ../applications/networking/p2p/synapse-bt {
inherit (darwin.apple_sdk.frameworks) Security;
};

synfigstudio = callPackage ../applications/graphics/synfigstudio {
fontsConf = makeFontsConf { fontDirectories = [ freefont_ttf ]; };
Expand Down

0 comments on commit 91be6b9

Please sign in to comment.