fix(flake): use nixvim's nixpkgs instead of our own #285

Merged
jalil merged 1 commit from push-lomkzuyopqtw into main 2025-02-09 13:12:39 +01:00
Owner

This ensures the nixpkgs-unstable we consume is tested against nixvim.

This ensures the `nixpkgs-unstable` we consume is tested against `nixvim`.
jalil self-assigned this 2025-02-09 13:02:57 +01:00
jalil added 1 commit 2025-02-09 13:02:57 +01:00
fix(flake): use nixvim's nixpkgs instead of our own
All checks were successful
/ check (nvimDev) (push) Successful in 35s
/ check (nvimHeadless) (push) Successful in 6s
/ check (nvimNoBundledBins) (push) Successful in 8s
/ check (nvimNoLsp) (push) Successful in 8s
/ check (nvimNoTSGrammars) (push) Successful in 8s
/ check (treefmt) (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 36s
/ build (nvim) (push) Successful in 14s
/ report-size (push) Successful in 1m14s
a24b51310d
This ensures the `nixpkgs-unstable` we consume is tested against
`nixvim`.
First-time contributor

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 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 9.4GiB 598MiB 19KiB 0B

Packages

Name Size Size Change NAR Size NAR Size Change
audiomenu 42MiB 0B 1.4MiB 0B
docs 2.4MiB 0B 2.4MiB 0B
docs-home-markdown 11KiB 0B 11KiB 0B
docs-nixos-markdown 6.3KiB 0B 6.3KiB 0B
docs-nvim-markdown 1.9KiB 0B 1.9KiB 0B
jpassmenu 43MiB 0B 2.3MiB 0B
nvim 1.5GiB 4.3KiB 578KiB 0B
nvim-headless 582MiB 592B 578KiB 0B
nvim-no-lsps 1.1GiB 4.3KiB 578KiB 0B
nvim-no-ts 1.6GiB 4.3KiB 578KiB 0B
nvim-small 1.3GiB 4.3KiB 578KiB 0B
# 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 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` | 9.4GiB | 598MiB | 19KiB | 0B | # Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `audiomenu` | 42MiB | 0B | 1.4MiB | 0B | | `docs` | 2.4MiB | 0B | 2.4MiB | 0B | | `docs-home-markdown` | 11KiB | 0B | 11KiB | 0B | | `docs-nixos-markdown` | 6.3KiB | 0B | 6.3KiB | 0B | | `docs-nvim-markdown` | 1.9KiB | 0B | 1.9KiB | 0B | | `jpassmenu` | 43MiB | 0B | 2.3MiB | 0B | | `nvim` | 1.5GiB | 4.3KiB | 578KiB | 0B | | `nvim-headless` | 582MiB | 592B | 578KiB | 0B | | `nvim-no-lsps` | 1.1GiB | 4.3KiB | 578KiB | 0B | | `nvim-no-ts` | 1.6GiB | 4.3KiB | 578KiB | 0B | | `nvim-small` | 1.3GiB | 4.3KiB | 578KiB | 0B |
jalil force-pushed push-lomkzuyopqtw from a24b51310d to 767e5f500a 2025-02-09 13:08:13 +01:00 Compare
First-time contributor

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 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 8.8GiB 4.3KiB 19KiB 0B

Packages

Name Size Size Change NAR Size NAR Size Change
audiomenu 42MiB 0B 1.4MiB 0B
docs 2.4MiB 0B 2.4MiB 0B
docs-home-markdown 11KiB 0B 11KiB 0B
docs-nixos-markdown 6.3KiB 0B 6.3KiB 0B
docs-nvim-markdown 1.9KiB 0B 1.9KiB 0B
jpassmenu 43MiB 0B 2.3MiB 0B
nvim 1.5GiB 4.3KiB 578KiB 0B
nvim-headless 582MiB 592B 578KiB 0B
nvim-no-lsps 1.1GiB 4.3KiB 578KiB 0B
nvim-no-ts 1.6GiB 4.3KiB 578KiB 0B
nvim-small 1.3GiB 4.3KiB 578KiB 0B
# 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 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` | 8.8GiB | 4.3KiB | 19KiB | 0B | # Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `audiomenu` | 42MiB | 0B | 1.4MiB | 0B | | `docs` | 2.4MiB | 0B | 2.4MiB | 0B | | `docs-home-markdown` | 11KiB | 0B | 11KiB | 0B | | `docs-nixos-markdown` | 6.3KiB | 0B | 6.3KiB | 0B | | `docs-nvim-markdown` | 1.9KiB | 0B | 1.9KiB | 0B | | `jpassmenu` | 43MiB | 0B | 2.3MiB | 0B | | `nvim` | 1.5GiB | 4.3KiB | 578KiB | 0B | | `nvim-headless` | 582MiB | 592B | 578KiB | 0B | | `nvim-no-lsps` | 1.1GiB | 4.3KiB | 578KiB | 0B | | `nvim-no-ts` | 1.6GiB | 4.3KiB | 578KiB | 0B | | `nvim-small` | 1.3GiB | 4.3KiB | 578KiB | 0B |
jalil merged commit 767e5f500a into main 2025-02-09 13:12:39 +01:00
jalil deleted branch push-lomkzuyopqtw 2025-02-09 13:12:39 +01:00
Sign in to join this conversation.
No reviewers
No labels
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#285
No description provided.