5 ms·
Maybe they should have used Nix to get a dev environment that is identical for everyone... but that would be too easy. The future is long term probably in the
by thibran 5y ago
Maybe they should have used Nix to get a dev environment that is identical for everyone... but that would be too easy.
The future is long term probably in the web, I'm just not sure we are there yet.
- WC3w6pXxgGd 5y agoHow would Nix solve that?
- toastal 5y agoBuy a Cachix subscription and now the org can build once on the local dev's machine, push to the service, then other users and machines can download & run anywhere the reproducible 'apps' on local dev machines, CI, and even production. CI can even build and push the architectures that aren't specific to your local machine to cover just about everything.
- yakshaving_jgt 5y agoThis is what we do at work, and it's working great for us. GitHub's approach seems utterly ridiculous, especially given that I've seen colleagues prevented from working because their Internet connection at some point ran through a part of the world that was sanctioned by Western governments. Developer, it appears you are somewhere near Crimea! NO EDITOR FOR YOU!
- pxc 5y agoApparently you can set up Codespaces with any Docker image you want, so there's no reason you couldn't use Nix to generate one for use with Codespaces. The Visual Studio Code server isn't in Nixpkgs/NixOS yet, but there's an out-of-tree effort being maintained here for now: https://github.com/msteen/nixos-vscode-server https://github.com/msteen/nixos-vscode-server
- handrous 5y agoThere are lots of options for making your dev environments reasonably quick & easy to set up if you're mostly doing web stuff, or developing for a very small count of platforms, and mostly or entirely with open-source tools. Change any of that and things start to get harder in a hurry.