@ -7,6 +7,7 @@
, which
, libvirt
, vmnet
, makeWrapper
} :
buildGoModule rec {
@ -24,7 +25,7 @@ buildGoModule rec {
sha256 = " s h a 2 5 6 - W I k 4 i b q 7 j c q a o 0 Q i z 3 m z 9 y f H d x T U l v t P u E h 4 g A p S D B g = " ;
} ;
nativeBuildInputs = [ installShellFiles pkg-config which ] ;
nativeBuildInputs = [ installShellFiles pkg-config which makeWrapper ] ;
buildInputs = if stdenv . isDarwin then [ vmnet ] else if stdenv . isLinux then [ libvirt ] else null ;
@ -35,9 +36,8 @@ buildGoModule rec {
installPhase = ''
install out/minikube - Dt $ out/bin
wrapProgram $ out/bin/minikube - - set MINIKUBE_WANTUPDATENOTIFICATION false
export HOME = $ PWD
export MINIKUBE_WANTUPDATENOTIFICATION = false
export MINIKUBE_WANTKUBECTLDOWNLOADMSG = false
for shell in bash zsh fish ; do
$ out/bin/minikube completion $ shell > minikube . $ shell