Open turion opened 4 years ago
From what I remember, vscode-with-extensions
is just a wrapper script to set the extension directory to the derivation that contains the extensions so this shouldn't be that hard.
Yes, in fact you can already plug vscodium into vscode-with-extensions - I created https://nixos.wiki/wiki/VSCodium to document this. I guess we could create a pkgs.vscodium-with-extensions that already has that set as the default.
I want to try this at some point soon
As nix refuses to install vscode-with-extensions
by default due to licensing issues, creating vscodium-with-extensions
actually makes sense (due to its MIT license).
I'm using a pretty strict allowUnfreePredicate
that does not include vscode, and vscode-with-extensions.override { vscode = vscodium; }
works just fine for me, without complaints about non-free.
Since https://github.com/NixOS/nixpkgs/issues/59028 there is the package
vscodium
. It accepts basically the same extensions asvscode
, as far as I understand. It would be cool if there wasvscodium-with-extensions
that works the same asvscode-with-extensions
. Ideally, a lot of code would be shared between these two functions, but I'm not sure how to do that. If you can provide some advice, I'm willing to try implementing it.@eadwu @volth @matthewbauer @angristan