mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
gitAndTools.lefthook: fix build on darwin
This commit is contained in:
parent
2f022c86f2
commit
b24059bc2f
2 changed files with 6 additions and 2 deletions
|
@ -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 a new issue