Merge pull request #125530 from Artturin/earthly-add-flags

earthly: add missing buildFlags and tags

authored by

Sandro and committed by
GitHub
259e6df7 410f9b8b

+13
+13
pkgs/development/tools/earthly/default.nix
··· 13 13 14 14 vendorSha256 = "sha256-q3dDV0eop2NxXHFrlppWsZrO2Hz1q5xhs1DnB6PvG9g="; 15 15 16 + buildFlagsArray = '' 17 + -ldflags= 18 + -s -w 19 + -X main.Version=v${version} 20 + -X main.DefaultBuildkitdImage=earthly/buildkitd:v${version} 21 + -extldflags -static 22 + ''; 23 + 24 + BUILDTAGS = "dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork"; 25 + preBuild = '' 26 + makeFlagsArray+=(BUILD_TAGS="${BUILDTAGS}") 27 + ''; 28 + 16 29 postInstall = '' 17 30 mv $out/bin/debugger $out/bin/earthly-debugger 18 31 mv $out/bin/shellrepeater $out/bin/earthly-shellrepeater