chezmoi: fix build on darwin
This commit is contained in:
parent
e50e48e9df
commit
86d19c4e32
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, installShellFiles, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "chezmoi";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0gh314d3mspqmz2z3m05bgsp62mrhb48m4mwhfy5h62fs7aqymr8";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags=-s -w -X github.com/twpayne/chezmoi/cmd.VersionStr=${version}"
|
||||
];
|
||||
|
@ -843,7 +843,9 @@ in
|
||||
|
||||
certigo = callPackage ../tools/admin/certigo { };
|
||||
|
||||
chezmoi = callPackage ../tools/misc/chezmoi { };
|
||||
chezmoi = callPackage ../tools/misc/chezmoi {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
chipsec = callPackage ../tools/security/chipsec {
|
||||
kernel = null;
|
||||
|
Loading…
Reference in New Issue
Block a user