dolt: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:38:00 -05:00
parent 798569a534
commit f2dd2b8634
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, lib, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
pname = "dolt";
@ -15,7 +15,9 @@ buildGoModule rec {
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
modSha256 = "04bsj8mfamnbq3y2aqbx1605azi8v15nbdh1zk5grni0ihlal75a";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Relational database with version control and CLI a-la Git.";
homepage = "https://github.com/liquidata-inc/dolt";
license = licenses.asl20;

View File

@ -10182,7 +10182,9 @@ in
doit = callPackage ../development/tools/build-managers/doit { };
dolt = callPackage ../servers/sql/dolt { };
dolt = callPackage ../servers/sql/dolt {
inherit (darwin.apple_sdk.frameworks) Security;
};
dot2tex = pythonPackages.dot2tex;