ci(nix-flake-outputs-size): update #757

Merged
jalil merged 1 commit from push-kkqvvuxrsvmt into main 2025-11-18 22:34:30 +01:00
Owner

Leaner action since it doesn't depend on find-comment.

Leaner action since it doesn't depend on find-comment.
ci(nix-flake-outputs-size): update
All checks were successful
/ build-package (search) (pull_request) Successful in 19s
/ check-nvim (nvim) (pull_request) Successful in 6s
/ check-nvim (nvim-headless) (pull_request) Successful in 2s
/ check-nvim (nvim-no-lsps) (pull_request) Successful in 5s
/ check-nvim (nvim-no-ts) (pull_request) Successful in 5s
/ check-nvim (nvim-small) (pull_request) Successful in 4s
/ build-vm (pull_request) Successful in 18s
/ build-hm (pull_request) Successful in 18s
/ report-size (pull_request) Successful in 2m31s
/ check-fmt (push) Successful in 3s
/ build-package (audiomenu) (push) Successful in 1s
/ build-package (docs) (push) Successful in 1s
/ build-package (docs-home-markdown) (push) Successful in 1s
/ build-package (docs-nixos-markdown) (push) Successful in 1s
/ build-package (docs-nvim-markdown) (push) Successful in 1s
/ build-package (jpassmenu) (push) Successful in 1s
/ build-package (nvim) (push) Successful in 1s
/ build-package (nvim-headless) (push) Successful in 1s
/ build-package (nvim-no-lsps) (push) Successful in 1s
/ build-package (nvim-no-ts) (push) Successful in 1s
/ build-package (nvim-small) (push) Successful in 1s
/ build-package (search) (push) Successful in 1s
/ check-nvim (nvim) (push) Successful in 2s
/ check-nvim (nvim-headless) (push) Successful in 1s
/ check-nvim (nvim-no-lsps) (push) Successful in 2s
/ check-nvim (nvim-no-ts) (push) Successful in 1s
/ check-nvim (nvim-small) (push) Successful in 2s
/ build-vm (push) Successful in 2s
/ build-hm (push) Successful in 1s
/ report-size (push) Successful in 6s
f23cd0864f
Leaner action since it doesn't depend on find-comment.

Signed-off-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
jalil self-assigned this 2025-11-18 22:27:36 +01:00

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).
  • [NAR] Size Change: the amount changed compared to the main branch.
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.

NixOS Configurations

Name Size Size Change NAR Size NAR Size Change
vm 11GiB 0B 19KiB 0B

Home Manager Configurations

Name Size Size Change NAR Size NAR Size Change
example 3.9GiB 0B 18KiB 0B

Packages

Name Size Size Change NAR Size NAR Size Change
audiomenu 173MiB 0B 7.3KiB 0B
docs 3.1MiB -39KiB 3.1MiB -39KiB
docs-home-markdown 12KiB 0B 12KiB 0B
docs-nixos-markdown 6.5KiB 0B 6.5KiB 0B
docs-nvim-markdown 2.4KiB 0B 2.4KiB 0B
jpassmenu 173MiB 0B 3.6KiB 0B
nvim 2.1GiB 0B 630KiB 0B
nvim-headless 541MiB 0B 630KiB 0B
nvim-no-lsps 1.1GiB 0B 630KiB 0B
nvim-no-ts 1.9GiB 0B 630KiB 0B
nvim-small 1.3GiB 0B 630KiB 0B
search 899KiB 0B 899KiB 0B
<!-- 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). - `[NAR] Size Change`: the amount changed compared to the main branch. </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> ## NixOS Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `vm` | 11GiB | 0B | 19KiB | 0B | ## Home Manager Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `example` | 3.9GiB | 0B | 18KiB | 0B | ## Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `audiomenu` | 173MiB | 0B | 7.3KiB | 0B | | `docs` | 3.1MiB | -39KiB | 3.1MiB | -39KiB | | `docs-home-markdown` | 12KiB | 0B | 12KiB | 0B | | `docs-nixos-markdown` | 6.5KiB | 0B | 6.5KiB | 0B | | `docs-nvim-markdown` | 2.4KiB | 0B | 2.4KiB | 0B | | `jpassmenu` | 173MiB | 0B | 3.6KiB | 0B | | `nvim` | 2.1GiB | 0B | 630KiB | 0B | | `nvim-headless` | 541MiB | 0B | 630KiB | 0B | | `nvim-no-lsps` | 1.1GiB | 0B | 630KiB | 0B | | `nvim-no-ts` | 1.9GiB | 0B | 630KiB | 0B | | `nvim-small` | 1.3GiB | 0B | 630KiB | 0B | | `search` | 899KiB | 0B | 899KiB | 0B |
jalil merged commit f23cd0864f into main 2025-11-18 22:34:30 +01:00
jalil deleted branch push-kkqvvuxrsvmt 2025-11-18 22:34:30 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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/configuration.nix!757
No description provided.