mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
minio: fix build on darwin
This commit is contained in:
parent
5b83d95f2f
commit
3c1c304c7a
@ -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=
|
||||
|
@ -15640,7 +15640,9 @@ in
|
||||
|
||||
micronaut = callPackage ../development/tools/micronaut {};
|
||||
|
||||
minio = callPackage ../servers/minio { };
|
||||
minio = callPackage ../servers/minio {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
# Backwards compatibility.
|
||||
mod_dnssd = pkgs.apacheHttpdPackages.mod_dnssd;
|
||||
|
Loading…
Reference in New Issue
Block a user