Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix buildVimPlugin to use pname instead of name #194065

Closed
wants to merge 3 commits into from

Conversation

MangoIV
Copy link
Contributor

@MangoIV MangoIV commented Oct 2, 2022

Description of changes

Change buildVimPlugin to take pname instead of name

Fixes #193903, documentation has been adjusted. cc @teto

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.11 Release Notes (or backporting 22.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@ofborg ofborg 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 labels Oct 2, 2022
MangoIV and others added 2 commits October 4, 2022 12:37
…o the derivation

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
@MangoIV
Copy link
Contributor Author

MangoIV commented Oct 4, 2022

So is this what we want? change the API of the function to take pname and not name?

@lilyball
Copy link
Member

lilyball commented Oct 4, 2022

We should not ever say version ? "unknown". I'm not aware of any precedent for that, and the use of a word means lib.getName/lib.getVersion when given drv.name will treat the unknown as part of the name.

See #194069 (comment) on the other PR for another approach.

@SuperSandro2000
Copy link
Member

Fixed in #194483

@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: vim 8.has: documentation 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. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vim plugins built with vimUtils.buildVimPlugin require a pname attribute
5 participants