mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
gitAndTools.lefthook: fix build on darwin
This commit is contained in:
parent
2f022c86f2
commit
b24059bc2f
@ -179,7 +179,9 @@ let
|
||||
|
||||
lab = callPackage ./lab { };
|
||||
|
||||
lefthook = callPackage ./lefthook { };
|
||||
lefthook = callPackage ./lefthook {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lefthook";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "0ih11gw2y9dhv3zw1fzjmdfjln5h6zg1bj7sl68cglf6743siqnq";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Fast and powerful Git hooks manager for any type of projects";
|
||||
homepage = "https://github.com/Arkweid/lefthook";
|
||||
|
Loading…
Reference in New Issue
Block a user