Skip to content

earthly: move to earthbuild 0.8.17#463269

Open
konradmalik wants to merge 1 commit into
NixOS:masterfrom
konradmalik:earthly
Open

earthly: move to earthbuild 0.8.17#463269
konradmalik wants to merge 1 commit into
NixOS:masterfrom
konradmalik:earthly

Conversation

@konradmalik
Copy link
Copy Markdown
Contributor

@konradmalik konradmalik commented Nov 19, 2025

Earthly has been discontinued. Community fork is called EarthBuild.

Version bumped to v0.8.17 from v0.8.16.

New binaries are: earth, earth-debugger. Links to earthly and earthly-debugged provided for compatibility.

See this post: https://earthly.dev/blog/shutting-down-earthfiles-cloud/
and this issue: EarthBuild/earthbuild#158

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@konradmalik konradmalik marked this pull request as ready for review November 19, 2025 19:47
@konradmalik konradmalik added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 8.has: package (new) This PR adds a new package 8.has: clean-up This PR removes packages or removes other cruft labels Nov 19, 2025
@nixpkgs-ci nixpkgs-ci Bot requested a review from zoedsoupe November 19, 2025 19:52
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 19, 2025
@konradmalik
Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 463269
Commit: 529cd9d7bed3384deb005eedfb51924d72d19cde (subsequent changes)
Merge: a7e165cae5a393ea982dca5231d9b2bf5e616c51

Logs: https://github.com/konradmalik/nixpkgs-review-gha/actions/runs/19514411599


x86_64-linux

✅ 1 package built:
  • earthbuild

aarch64-linux

✅ 1 package built:
  • earthbuild

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • earthbuild

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • earthbuild

@konradmalik konradmalik marked this pull request as draft November 19, 2025 20:07
@konradmalik
Copy link
Copy Markdown
Contributor Author

konradmalik commented Nov 19, 2025

The new docker image: "-X main.DefaultBuildkitdImage=docker.io/earthbuild/buildkitd:v${version}"
lacks 0.8.15 version and 0.8.17 is still in a pre-release state. This PR should probably wait until 0.8.17 is released.

@konradmalik konradmalik added the 2.status: wait-for-upstream Waiting for upstream fix (or their other action). label Nov 19, 2025
@konradmalik konradmalik changed the title earthly: move to earthbuild earthly: move to earthbuild 0.8.17 Nov 19, 2025
@konradmalik konradmalik added the 8.has: package (update) This PR updates a package to a newer version label Nov 19, 2025
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Nov 20, 2025
@nixpkgs-ci nixpkgs-ci Bot added 2.status: merge conflict This PR has merge conflicts with the target branch and removed 8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version labels Jan 24, 2026
@konradmalik konradmalik marked this pull request as ready for review February 23, 2026 10:18
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 23, 2026
@konradmalik
Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 463269
Commit: e74d93ba9b8ac665c43652e6d72ff0d284a35123 (subsequent changes)
Merge: 2aa170ad88c873ed9f968019806099e3806ec525

Logs: https://github.com/konradmalik/nixpkgs-review-gha/actions/runs/22301899023


x86_64-linux

✅ 1 package built:
  • earthbuild

aarch64-linux

✅ 1 package built:
  • earthbuild

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • earthbuild

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • earthbuild

@konradmalik konradmalik removed the 2.status: wait-for-upstream Waiting for upstream fix (or their other action). label Feb 23, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label May 6, 2026
@nixos-discourse
Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/3013

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label May 11, 2026
Comment thread pkgs/top-level/aliases.nix Outdated
e17gtk = throw "'e17gtk' has been removed because it was archived upstream."; # Added 2026-01-15
e-search = throw "'e-search' has been removed due to outdated KF5 dependencies"; # Added 2026-05-01
eagle = throw "'eagle' has been removed because official support ends 2026-06-07. It depended on qt5 webengine, which was removed for its numerous security issues. For more details, see the autodesk announcement at https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Autodesk-EAGLE-Announcement-Next-steps-and-FAQ.html"; # Added 2026-04-26
earthly = throw "'earthly' has been discontinued. It is replaced by a community fork 'earthbuild'"; # Added 2025-11-19
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a warnAlias if we even provide compatible symlinks.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

official project does and lines 49,50 of the package.nix do symlink, so just needs a warnAlias instead of throw, yes;)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed

@konradmalik konradmalik force-pushed the earthly branch 2 times, most recently from 92d00fa to c79b505 Compare May 12, 2026 07:55
Comment thread pkgs/by-name/ea/earthbuild/package.nix Outdated
Comment on lines +22 to +23
# when true, just one subPackage is built even though two are listed
__structuredAttrs = false;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does anyone have any idea how to solve this? nixpkgs-vet requires setting this to true, but once I do that, only the first subPackage from the list is built 🤔

Copy link
Copy Markdown

@Likivik Likivik May 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked into it, didn't find concrete suggestions of what to do about it unfortunately, don't understand it myself

Related issue: #205690

Check creation: NixOS/nixpkgs-vet#203

Docs mentions:
https://nix.dev/manual/nix/2.31/store/derivation/#structured-attrs
https://nix.dev/manual/nix/2.31/language/advanced-attributes.html#adv-attr-structuredAttrs

Probably the most helpful:
Simillar question from another package: #494879 (comment)
Found there: https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/

IDK but related: NixOS/nix#14847

Copy link
Copy Markdown
Contributor Author

@konradmalik konradmalik May 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Likivik @SuperSandro2000 can you please look here? https://github.com/NixOS/nixpkgs/pull/463269/changes#diff-b838f8df5dbf32422669fcffd06d2b4c57a05c2475dd09216f77d4583028ced0R23

Three options:

  • my misunderstanding of the go docs
  • go docs are outdated
  • a bug in go builder

Any suggestions what do we do? The current version works, but it is a workaround.

@gilescope
Copy link
Copy Markdown

How goes?

@gilescope
Copy link
Copy Markdown

Tried it locally and it installed fine for me on my nixos box.

@gilescope
Copy link
Copy Markdown

@SuperSandro2000 could we please have a review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants