Skip to content

Commit

Permalink
earthly: 0.6.23 -> 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
camerondurham committed Apr 2, 2023
1 parent 78d19be commit f11402d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/development/tools/earthly/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,29 @@

buildGoModule rec {
pname = "earthly";
version = "0.6.23";
version = "0.7.2";

src = fetchFromGitHub {
owner = "earthly";
repo = "earthly";
rev = "v${version}";
sha256 = "sha256-RbLAnk2O7wqY0OQLprWuRDUWMicqcLOPia+7aRuXbsk=";
sha256 = "sha256-b7at8Hjt3ZH7UjD1FLgQ4C1TE+XLqm7+WI4aBn1tikI=";
};

vendorSha256 = "sha256-MDyQ9Wn5A5F5CQCfEXzkXZi/Fg6sT/Ikv+Y7fvLY8LA=";
vendorSha256 = "sha256-CXbS7MSq2fwm5M325szZogW+qDEMuDidlMt89Cm3Gg4=";

ldflags = [
"-s" "-w"
"-X main.Version=v${version}"
"-X main.DefaultBuildkitdImage=earthly/buildkitd:v${version}"
];

# These packages should not be required for the CLI binary to build, without these the CLI seems to work as expected
excludedPackages = [
"ast"
"util/deltautil"
];

BUILDTAGS = "dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork";
preBuild = ''
makeFlagsArray+=(BUILD_TAGS="${BUILDTAGS}")
Expand All @@ -29,7 +35,6 @@ buildGoModule rec {

postInstall = ''
mv $out/bin/debugger $out/bin/earthly-debugger
mv $out/bin/shellrepeater $out/bin/earthly-shellrepeater
'';

meta = with lib; {
Expand Down

0 comments on commit f11402d

Please sign in to comment.