3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #41644 from tadfisher/minikube

minikube: bundle kvm2 driver
This commit is contained in:
lewo 2018-06-24 21:29:03 +02:00 committed by GitHub
commit 3951a693e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,15 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, libvirt, qemu, docker-machine-kvm,
gpgme, makeWrapper, hostPlatform, vmnet, python }:
{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, libvirt, qemu
, gpgme, makeWrapper, hostPlatform, vmnet, python, pkgconfig
, docker-machine-kvm, docker-machine-kvm2
, extraDrivers ? []
}:
let binPath = stdenv.lib.optionals stdenv.isLinux [ libvirt qemu docker-machine-kvm ];
let
drivers = stdenv.lib.filter (d: d != null) (extraDrivers
++ stdenv.lib.optionals stdenv.isLinux [ docker-machine-kvm docker-machine-kvm2 ]);
binPath = drivers
++ stdenv.lib.optionals stdenv.isLinux ([ libvirt qemu ]);
in buildGoPackage rec {
pname = "minikube";