mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
docker-buildx: add $out/bin symlink
This commit is contained in:
parent
b7e050255f
commit
c9752932df
@ -20,11 +20,17 @@ buildGoModule rec {
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D $GOPATH/bin/buildx $out/libexec/docker/cli-plugins/docker-buildx
|
||||
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/libexec/docker/cli-plugins/docker-buildx $out/bin/docker-buildx
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Docker CLI plugin for extended build capabilities with BuildKit";
|
||||
homepage = "https://github.com/docker/buildx";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivan-babrou ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user