Merge pull request #41770 from marsam/feature/synapse-bt-enable-darwin

synapse-bt: fix darwin build
This commit is contained in:
Daiderd Jordan 2018-06-10 01:22:39 +02:00 committed by GitHub
commit 91be6b9f40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
rustPlatform.buildRustPackage rec {
name = "synapse-bt-unstable-${version}";
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1psrmgf6ddzqwx7gf301rx84asfnvxpsvkx2fan453v65819k960";
buildInputs = [ pkgconfig openssl ];
buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
cargoBuildFlags = [ "--all" ];

View file

@ -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 ]; };