Skip to content

Conversation

khaneliman
Copy link
Contributor

Things done

We want overrides.nix to be strictly overrides and not new plugin definitions.

  • 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.

@khaneliman khaneliman mentioned this pull request Aug 30, 2025
13 tasks
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: vim Advanced text editor labels Aug 30, 2025
@MattSturgeon
Copy link
Contributor

We want overrides.nix to be strictly overrides and not new plugin definitions.

My mind immediately jumps to "how can we enforce that via CI"; cc @NixOS/nixpkgs-ci

Although, I'm wary of a solution that costs too much dev time being designed and implemented, for too little devex gain when it's done.

It may also be possible to check that overrides.nix is exclusively overrides during eval. This may have a performance hit, but that's probably not important considering vimPlugins is almost exclusively leaf-packages.

@khaneliman khaneliman force-pushed the vim-build branch 2 times, most recently from eedb955 to 4251c2e Compare August 30, 2025 20:15
@khaneliman khaneliman marked this pull request as ready for review August 30, 2025 20:17
@khaneliman khaneliman marked this pull request as draft August 30, 2025 20:17
@khaneliman khaneliman marked this pull request as ready for review August 30, 2025 20:21
@khaneliman
Copy link
Contributor Author

sorry, formatter must have gone haywire on taskwarrior commits.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 30, 2025
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Upstream repository removed.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Looks like it was missed in `overrides.nix` when it should be in
non-generated.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
We want to prevent plugins being added in `overrides.nix`. Shadow the
helper names to throw if someone tries to add them and use them in the
file.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

Great idea!

@GaetanLepage GaetanLepage merged commit b1ecbfe into NixOS:master Aug 30, 2025
27 checks passed
@khaneliman khaneliman deleted the vim-build branch August 31, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: vim Advanced text editor 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants