docker-machine: 0.14.0 -> 0.16.1 (#54487)
This commit is contained in:
parent
04f025a8d4
commit
04d21ab899
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "machine-${version}";
|
name = "machine-${version}";
|
||||||
version = "0.14.0";
|
version = "0.16.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/docker/machine";
|
goPackagePath = "github.com/docker/machine";
|
||||||
|
|
||||||
@ -11,16 +11,16 @@ buildGoPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "docker";
|
owner = "docker";
|
||||||
repo = "machine";
|
repo = "machine";
|
||||||
sha256 = "0hd5sklmvkhhpfn318hq9w0f7x14165h1l2mdn9iv4447z1iibff";
|
sha256 = "0xxzxi5v7ji9j2k7kxhi0ah91lfa7b9rg3nywgx0lkv8dlgp8kmy";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $bin/share/bash-completion/completions/
|
mkdir -p \
|
||||||
cp go/src/github.com/docker/machine/contrib/completion/bash/* $bin/share/bash-completion/completions/
|
$bin/share/bash-completion/completions/ \
|
||||||
'';
|
$bin/share/zsh/site-functions/
|
||||||
|
|
||||||
postFixup = ''
|
cp go/src/github.com/docker/machine/contrib/completion/bash/* $bin/share/bash-completion/completions/
|
||||||
mv $bin/bin/cmd $bin/bin/docker-machine
|
cp go/src/github.com/docker/machine/contrib/completion/zsh/* $bin/share/zsh/site-functions/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user