chore!: remove fallback fetching of report #64

Open
jalil wants to merge 1 commit from jalil/dont-download-artifact into main
Owner

Expect the report to be cached or fail directly.

Expect the report to be cached or fail directly.
jalil self-assigned this 2026-10-23 19:08:32 +02:00
chore!: remove fallback fetching of report
All checks were successful
/ report-size (push) Successful in 3s
/ report-download-check (push) Successful in 0s
/ check (treefmt) (pull_request) Successful in 3s
/ report-size-pr (pull_request) Successful in 3s
/ report-download-check-pr (pull_request) Successful in 1s
/ prebuilt-drv (pull_request) Successful in 3s
9757166230
Expect the report to be cached or fail directly.

Flake output sizes

Definitions
  • Name: the name of the package/configuration.
  • Size: the closure size (size on disk/NAR size + all transitive dependencies).
  • NAR Size: the size of the build output (package without the dependencies).
Tips on reading this data
  • For NixOS/Home-Manager configurations you generally care only about the Size (closure size/size on disk).
    • Reduce the Size by disabling unneeded services/default packages.
  • For Packages you care about both the Size and the NAR Size.
    • Reduce the NAR Size by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc.
    • Reduce the Size by reducing the dependencies (e.g. buildInputs).
    • Don't worry too much about size, some dependencies are deduplicated, e.g. glibc adds ~40MiB to the Size, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. musl is not gonna improve things.

Packages

Name Size NAR Size
hello 32MiB 269KiB
<!-- AUTOGENERATED by nix-flake-outputs-size action --> ## Flake output sizes <details><summary><b>Definitions</b></summary> - `Name`: the name of the package/configuration. - `Size`: the closure size (size on disk/NAR size + all transitive dependencies). - `NAR Size`: the size of the build output (package without the dependencies). </details> <details><summary><b>Tips on reading this data</b></summary> - For NixOS/Home-Manager configurations you generally care only about the `Size` (closure size/size on disk). - Reduce the `Size` by disabling unneeded services/default packages. - For Packages you care about both the `Size` and the `NAR Size`. - Reduce the `NAR Size` by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc. - Reduce the `Size` by reducing the dependencies (e.g. `buildInputs`). - Don't worry too much about size, some dependencies are deduplicated, e.g. `glibc` adds ~40MiB to the `Size`, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. `musl` is not gonna improve things. </details> ## Packages | Name | Size | NAR Size | |------|-----:|---------:| | `hello` | 32MiB | 269KiB |
All checks were successful
/ report-size (push) Successful in 3s
Required
Details
/ report-download-check (push) Successful in 0s
Required
Details
/ check (treefmt) (pull_request) Successful in 3s
Required
Details
/ report-size-pr (pull_request) Successful in 3s
Required
Details
/ report-download-check-pr (pull_request) Successful in 1s
Required
Details
/ prebuilt-drv (pull_request) Successful in 3s
Required
Details
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin jalil/dont-download-artifact:jalil/dont-download-artifact
git switch jalil/dont-download-artifact
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jalil/nix-flake-outputs-size!64
No description provided.