minikube: use src.rev as commit
This commit is contained in:
parent
c0a0552f10
commit
2c774044e2
@ -1,12 +1,12 @@
|
||||
{ lib, buildGoModule, minikube }:
|
||||
|
||||
buildGoModule rec {
|
||||
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256 commit;
|
||||
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256;
|
||||
|
||||
pname = "docker-machine-hyperkit";
|
||||
|
||||
buildPhase = ''
|
||||
make docker-machine-driver-hyperkit COMMIT=${commit}
|
||||
make docker-machine-driver-hyperkit COMMIT=${src.rev}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, buildGoModule, minikube }:
|
||||
|
||||
buildGoModule rec {
|
||||
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256 commit;
|
||||
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256;
|
||||
|
||||
pname = "docker-machine-kvm2";
|
||||
|
||||
@ -10,7 +10,7 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make docker-machine-driver-kvm2 COMMIT=${commit}
|
||||
make docker-machine-driver-kvm2 COMMIT=${src.rev}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -13,9 +13,6 @@ buildGoModule rec {
|
||||
pname = "minikube";
|
||||
version = "1.12.0";
|
||||
|
||||
# for -ldflags
|
||||
commit = "57e2f55f47effe9ce396cea42a1e0eb4f611ebbd";
|
||||
|
||||
vendorSha256 = "0wcm7kw5z7d0ch59nyx5xlv5ci7jrwnzspmsh1yb76318cx2aghi";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -30,7 +27,7 @@ buildGoModule rec {
|
||||
buildInputs = if stdenv.isDarwin then [ vmnet ] else if stdenv.isLinux then [ libvirt ] else null;
|
||||
|
||||
buildPhase = ''
|
||||
make COMMIT=${commit}
|
||||
make COMMIT=${src.rev}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user