NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.02k stars 14.03k forks source link

Build `vscodium` (non-branded VSCode) from Source #26698

Open Profpatsch opened 7 years ago

Profpatsch commented 7 years ago

VSCode is currently packaged with binaries from Microsoft. Those are non-free. The source code is under MIT license.

It might be necessary to build Electron from Source first, see https://github.com/NixOS/nixpkgs/issues/17073

gebner commented 7 years ago

I managed to build vscode from source with the electron build from nixpkgs (so we don't need to change the electron build).

vscode has a wrapper around npm and also downloads packages during the build. I haven't yet figured out how to integrate that with our node.js infrastructure.

Profpatsch commented 6 years ago

@gebner does this mean we have a from-source build that is MIT now?

gebner commented 6 years ago

Not that I know of. I just managed to build vscode from source at all.

offlinehacker commented 4 years ago

Implemented here: https://github.com/NixOS/nixpkgs/pull/86122

gebner commented 3 years ago

There is already a PR, but it still needs a bit of clean up.

Profpatsch commented 3 years ago

Is the vscodium build from source? I think that would be enough.

Profpatsch commented 3 years ago

Doesn’t look like it

https://github.com/NixOS/nixpkgs/blob/ee1aa3985792944ba13f2e0c18d42e2ed0f3f4ba/pkgs/applications/editors/vscode/vscodium.nix#L29