Merge pull request #150648 from whentze/master

docker-compose2: pass version to ldflags
This commit is contained in:
Renaud 2022-01-03 00:07:48 +01:00 committed by GitHub
commit 93eb018011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "sha256-RzAQnuOjT8eMH+rJm+/JrF96PZbCgzDVNPQYUeXPWnY=";
ldflags = ["-X github.com/docker/compose/v2/internal.Version=${version}"];
doCheck = false;
installPhase = ''
install -D $GOPATH/bin/cmd $out/libexec/docker/cli-plugins/docker-compose