minio: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 05:45:00 -05:00
parent 5b83d95f2f
commit 3c1c304c7a
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
buildGoModule rec {
pname = "minio";
@@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0ikid628v673f7lvp3psk05s3liqlyc3arppg33lfi2cmbaf8hmr";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
subPackages = [ "." ];
buildFlagsArray = [''-ldflags=