sops: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:08:00 -05:00
parent f729bd752f
commit 2d271bdd4c
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }: { stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
buildGoModule rec { buildGoModule rec {
pname = "sops"; pname = "sops";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y"; modSha256 = "0vhxd3dschj5i9sig6vpxzbl59cas1qa843akzmjnfjrrafb916y";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/mozilla/sops"; homepage = "https://github.com/mozilla/sops";
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files"; description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";

View File

@ -21782,7 +21782,9 @@ in
sooperlooper = callPackage ../applications/audio/sooperlooper { }; sooperlooper = callPackage ../applications/audio/sooperlooper { };
sops = callPackage ../tools/security/sops { }; sops = callPackage ../tools/security/sops {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
sorcer = callPackage ../applications/audio/sorcer { }; sorcer = callPackage ../applications/audio/sorcer { };