mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
parent
528bf1ba0f
commit
a4d7b6ad91
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, kubernetes, libvirt, qemu, docker-machine-kvm,
|
{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, kubernetes, libvirt, qemu, docker-machine-kvm,
|
||||||
gpgme, makeWrapper }:
|
gpgme, makeWrapper, hostPlatform, vmnet }:
|
||||||
|
|
||||||
let
|
let
|
||||||
binPath = [ kubernetes ]
|
binPath = [ kubernetes ]
|
||||||
@ -36,7 +36,7 @@ in buildGoPackage rec {
|
|||||||
|
|
||||||
# kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly
|
# kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly
|
||||||
# that kubectl is on the $PATH, even if it doesn't use it at all to generate the completions
|
# that kubectl is on the $PATH, even if it doesn't use it at all to generate the completions
|
||||||
buildInputs = [ go-bindata makeWrapper kubernetes gpgme ];
|
buildInputs = [ go-bindata makeWrapper kubernetes gpgme ] ++ stdenv.lib.optional hostPlatform.isDarwin vmnet;
|
||||||
subPackages = [ "cmd/minikube" ];
|
subPackages = [ "cmd/minikube" ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
@ -15663,7 +15663,9 @@ with pkgs;
|
|||||||
|
|
||||||
minidjvu = callPackage ../applications/graphics/minidjvu { };
|
minidjvu = callPackage ../applications/graphics/minidjvu { };
|
||||||
|
|
||||||
minikube = callPackage ../applications/networking/cluster/minikube { };
|
minikube = callPackage ../applications/networking/cluster/minikube {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) vmnet;
|
||||||
|
};
|
||||||
|
|
||||||
minitube = callPackage ../applications/video/minitube { };
|
minitube = callPackage ../applications/video/minitube { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user