Skip to content

Comments

[Backport release-24.11] buildVscodeExtension: support finalAttrs through lib.extendMkDerivation#391077

Merged
drupol merged 5 commits intoNixOS:release-24.11from
drupol:backport-390180-to-release-24.11
Mar 21, 2025
Merged

[Backport release-24.11] buildVscodeExtension: support finalAttrs through lib.extendMkDerivation#391077
drupol merged 5 commits intoNixOS:release-24.11from
drupol:backport-390180-to-release-24.11

Conversation

@drupol
Copy link
Contributor

@drupol drupol commented Mar 18, 2025

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: vscode A free and versatile code editor that supports almost every major programming language. label Mar 18, 2025
@drupol drupol force-pushed the backport-390180-to-release-24.11 branch 2 times, most recently from 73b3757 to d6f29b4 Compare March 21, 2025 14:06
@github-actions github-actions bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Mar 21, 2025
@drupol drupol force-pushed the backport-390180-to-release-24.11 branch from d6f29b4 to 38657bc Compare March 21, 2025 14:23
jopejoe1 and others added 5 commits March 21, 2025 15:25
(cherry picked from commit 7b47ad2)
Many code in the wild still use `vscode-utils.buildVscodeExtension`
with the `name` argument, so it would be better to make it optional.

For example, a github code search of `buildVscodeExtension` returns 100+
results, most of them uses the `name` argument:

  https://github.com/search?q=buildVscodeExtension+language%3ANix&type=code&l=Nix

(cherry picked from commit 09801c9)
@drupol drupol force-pushed the backport-390180-to-release-24.11 branch from 38657bc to 0ba0e05 Compare March 21, 2025 14:26
@drupol drupol changed the title Backport 390180 to release 24.11 [Backport release-24.11] buildVscodeExtension: support finalAttrs through lib.extendMkDerivation Mar 21, 2025
@drupol
Copy link
Contributor Author

drupol commented Mar 21, 2025

@ofborg build vscode-extensions.myriad-dreamin.tinymist

@drupol drupol merged commit 935cb7b into NixOS:release-24.11 Mar 21, 2025
37 of 39 checks passed
@drupol drupol deleted the backport-390180-to-release-24.11 branch March 21, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: vscode A free and versatile code editor that supports almost every major programming language. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants