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

vscode: avoid unnecessary IFD #2506

Merged
merged 1 commit into from
Nov 25, 2021
Merged

Conversation

ncfavier
Copy link
Member

Description

We can avoid doing an import from derivation for extensions that have a vscodeExtUniqueId attribute (i.e. the extensions generated by buildVscodeExtension), which should be the excruciating majority of extensions people use.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

    • Added myself and the module files to .github/CODEOWNERS.

@ncfavier ncfavier requested a review from rycee as a code owner November 24, 2021 03:22
Copy link
Member

@berbiche berbiche left a comment

Choose a reason for hiding this comment

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

LGTM!

@berbiche berbiche merged commit e28185a into nix-community:master Nov 25, 2021
@ncfavier ncfavier deleted the vscode-ifd branch November 25, 2021 09:31
@ncfavier
Copy link
Member Author

Thanks!

peterhoeg pushed a commit to peterhoeg/home-manager that referenced this pull request Nov 29, 2021
@pwaller pwaller mentioned this pull request Jul 15, 2022
1 task
ncfavier added a commit to ncfavier/home-manager that referenced this pull request Jul 15, 2022
ncfavier added a commit to ncfavier/home-manager that referenced this pull request Jul 22, 2022
rycee pushed a commit to ncfavier/home-manager that referenced this pull request Jul 27, 2022
spacekookie pushed a commit to spacekookie/home-manager that referenced this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants