Merge pull request #320705 from RaghavSood/flyctl/0.2.71
flyctl: 0.2.69 -> 0.2.71
This commit is contained in:
@@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "flyctl";
|
pname = "flyctl";
|
||||||
version = "0.2.69";
|
version = "0.2.71";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "superfly";
|
owner = "superfly";
|
||||||
repo = "flyctl";
|
repo = "flyctl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-6SPJt+az+C0amCnRScp85JqUfnWswHdS1OtOMa40Haw=";
|
hash = "sha256-d2qoTRWuUh7Kn0uqT3fIlB8BbFJmyVEIlfInS3m+etc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-O5lUw0XzQUoy3mAmSpeW6WfBgg0FLxXkk7hCUAS2+o8=";
|
vendorHash = "sha256-iRZrjkWQxuUW/YM5TygFt+g8suM5iLGsWsCt4QQOX3M=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
@@ -35,12 +35,14 @@ buildGoModule rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# We override checkPhase to be able to test ./... while using subPackages
|
# We override checkPhase to be able to test ./... while using subPackages
|
||||||
|
# Temporary fix for https://github.com/superfly/flyctl/issues/3642. We
|
||||||
|
# should go back to buildGoDir instead of go test once that is resolved.
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
# We do not set trimpath for tests, in case they reference test assets
|
# We do not set trimpath for tests, in case they reference test assets
|
||||||
export GOFLAGS=''${GOFLAGS//-trimpath/}
|
export GOFLAGS=''${GOFLAGS//-trimpath/}
|
||||||
|
|
||||||
buildGoDir test ./...
|
go test ./...
|
||||||
|
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user