|
|
|
|
|
by gadtfly
435 days ago
|
|
Completely unrelated to anything I'm just taking this as an opportunity to yell this into the void while nix is on topic: I have a theory that a problem for Nix understanding and adoption out of all apparent proportion is its use of ; in a way that is just subtly, right in the uncanny valley, different from what ; means in any other language. In the default autogenerated file everyone is given to start with, it immediately hits you with: environment.systemPackages = with pkgs; [ foo ];
How is that supposed to read as a single expression in a pure functional language? |
|
Personally, it's the fact that there are 57698 ways of doing something and when you're new to Nix you're swarmed with all the options and no clear way of choosing where to go. For example, the docs still use a shell.nix for a dev shell but most have moved to a flake-based method...
I always recommend starting with devenv.sh from the excellent Domen Kozar and then slowly migrating to bare Nix flakes once you're more accustomed.