Closed cathaysia closed 1 year ago
@cathaysia , please, see the README. I added an example of usage with forVSCodeVersion
.
it seems ForVSCodeVersion lack many things?
nix-repl> (pkgs.forVSCodeVersion "1.79.2").vscode-marketplace.ms-ceintl
{ vscode-language-pack-bg = «derivation /nix/store/v6bk8baz9jqdyf31js45bdxylgd2s2kk-vscode-extension-ms-ceintl-vscode-language-pack-bg-1.48.3.drv»; vscode-language-pack-hu = «derivation /nix/store/kr86pd737k4fnj7cr2s60xfr2ps5dxsp-vscode-extension-ms-ceintl-vscode-language-pack-hu-1.48.3.drv»; }
It lacks extensions incompatible with a given version of VS Code. See https://code.visualstudio.com/api/working-with-extensions/publishing-extension#visual-studio-code-compatibility
Ok, it looks like I misunderstood what this function does. It filters out incompatible plugins instead of picking the last compatible one. Thanks
From: Danila Danko @.> Sent: Sunday, July 16, 2023 1:08:15 PM To: nix-community/nix-vscode-extensions @.> Cc: DragonBillow @.>; Mention @.> Subject: Re: [nix-community/nix-vscode-extensions] How to use forVSCodeVersion with flake? (Issue #32)
It lacks extensions incompatible with a given version of VS Code. See https://code.visualstudio.com/api/working-with-extensions/publishing-extension#visual-studio-code-compatibility
― Reply to this email directly, view it on GitHubhttps://github.com/nix-community/nix-vscode-extensions/issues/32#issuecomment-1636982986, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKBJ6ANV37FRIIYHKSRRO5LXQNZL7ANCNFSM6AAAAAA2KQNFPU. You are receiving this because you were mentioned.Message ID: @.***>
I have the following codes:
But when I build, it always tell me: