cue: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:51:00 -05:00
parent 33454dafa2
commit 282966fc4e
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ buildGoModule, fetchgit, stdenv }: { buildGoModule, fetchgit, stdenv, Security }:
buildGoModule rec { buildGoModule rec {
pname = "cue"; pname = "cue";
@ -12,6 +12,8 @@ buildGoModule rec {
modSha256 = "04dapx75zwi8cv1pj3c6266znrhwihv3df4izm3gjk34r2i07q6s"; modSha256 = "04dapx75zwi8cv1pj3c6266znrhwihv3df4izm3gjk34r2i07q6s";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
subPackages = [ "cmd/cue" ]; subPackages = [ "cmd/cue" ];
buildFlagsArray = [ buildFlagsArray = [

View File

@ -890,7 +890,9 @@ in
crc32c = callPackage ../development/libraries/crc32c { }; crc32c = callPackage ../development/libraries/crc32c { };
cue = callPackage ../development/tools/cue { }; cue = callPackage ../development/tools/cue {
inherit (darwin.apple_sdk.frameworks) Security;
};
deltachat-electron = callPackage deltachat-electron = callPackage
../applications/networking/instant-messengers/deltachat-electron { }; ../applications/networking/instant-messengers/deltachat-electron { };