diff options
author | Dan Peebles <pumpkin@me.com> | 2017-11-19 10:17:40 -0500 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-11-19 10:18:14 -0500 |
commit | a4d7b6ad91c1d7fe942905a30d0c08a0b4d97065 (patch) | |
tree | 3987d937d2606b527abb1a934dd5e77f4c517b1a /pkgs/applications/networking/cluster/minikube/default.nix | |
parent | 528bf1ba0fc6f29216015928508ff0752b54fa9a (diff) |
minikube: fix build on Darwin
Fixes #30133
Diffstat (limited to 'pkgs/applications/networking/cluster/minikube/default.nix')
-rw-r--r-- | pkgs/applications/networking/cluster/minikube/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/cluster/minikube/default.nix b/pkgs/applications/networking/cluster/minikube/default.nix index 00ee3a3771eb..f769ccd08f54 100644 --- a/pkgs/applications/networking/cluster/minikube/default.nix +++ b/pkgs/applications/networking/cluster/minikube/default.nix @@ -1,5 +1,5 @@ { stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, kubernetes, libvirt, qemu, docker-machine-kvm, - gpgme, makeWrapper }: + gpgme, makeWrapper, hostPlatform, vmnet }: let 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 # 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" ]; preBuild = '' |