4 ms·
The line about nix making it easier for newcomers in the readme and similar statements always trigger me. I am quite a competent person and I've never once thou
by jahsome 3y ago
The line about nix making it easier for newcomers in the readme and similar statements always trigger me. I am quite a competent person and I've never once thought "that was easy" when trying to use nix.
I adore the concepts of nix, but the user experience is awful. Maybe that's what this tool solves? It takes a frustrating amount of effort and incessant config tweaking with little to no documentation and navigating seemingly endless already-deprecated methodologies to reach that point. Perhaps I'm just dumb, or looking in the wrong places.
In any case in my experience the end result is every time I see something related to nix, I find myself thinking "I can't wait til that's easy"
- tmountain 3y agoI love nix and have contributed quite a few packages to the nix repository, and I will vouch that it’s anything but easy. I have a background in Haskell which makes it more familiar, but even the syntax is counterintuitive to newcomers.
- xedrac 3y agoThis is my experience too. At scale, I find Nix to be really slow, and the remote building infrastructure over VPN to be very flakey (see what I did there?). But it does solve some tough problems, and also introduces some new ones. Nix is incredibly useful, and extremely frustrating at the same time. Also, disk space...
- jaxr 3y agoExact same experience here. Been fiddling with nixos for quite a while, but never got comfortable with .nix or flakes. The base concepts keep escaping my mind, I have to revisit every time I have to configure something new and I just got tired. Issues are difficult to debug and you have to go through very specific commands and a hellish filesystem to understand what's going wrong. I love the concept, but I feel like it just gets too much in my way.
- SkyMarshal 3y ago> and a hellish filesystem What do you mean by this part? The actual filesystem like Ext4/ZFS/etc? Or the removal of the unix Filesystem Heirarchy and replacement with a simulated/softlinked version in Nix/OS?
- paulhilbert 3y ago"Flox began its life during the deployment of Nix at the D. E. Shaw group, where it quickly proved invaluable by making Nix easier for newcomers". Is that the line you are referring to? Sounds like the opposite of what you suggests it says.
- jahsome 3y agoThe line suggests the opposite yes. That's why I take issue with it. There's nothing easy about nix. Maybe flox makes it easier, but I am so burned out by screwing around for countless hours with nix I'm not even going to try to figure out if it's true.
- bitvoid 3y agoI'm confused here. That quote clearly says that Flox makes Nix easier for newcomers, not that Nix is easy. What exactly do you take issue with?
- jahsome 3y agoThe fact that my experience with nix has historically been _so_ difficult, I fear even something that claims to make it "easier" will not be able to deliver -- my aversion has everything to do with nix, and little do with any product which claims to improve it. Consider it guilt by association. For me, it doesn't simply need to be easier, it needs to be usable. I lack confidence a product which is an abstraction layer is going to solve that for me, because I have a personal inability to understand the underlying system.
- emptysongglass 3y agoMaybe you need to try it out rather than casting doubts about a product you haven't tried yet? Pre-emptively doubting claims based on your past experience with a tool Flox claims to solve seems like a poor way to go here. For what it's worth, there are a number of options in the Nix space that really do solve for its complexity like Devbox and now Flox.
- aidenn0 3y agoI read that as Flox makes nix easier for newcomers, not that nix is easy for newcomers.
- rapnie 3y agoAgreed on the experience, hard to onboard. I looked at devenv.sh as easier way to get going. Implemented all with Nix, less lock-in. Just found std [0] and that looks quite promising too. [0] https://std.divnix.com/ https://std.divnix.com/
- rochak 3y agoHard agree. I see the advantages but the initial learning curve is incredibly steep. Funny how this mimics my experience with Rust.
- phero_cnstrcts 3y agoI think once somebody solves the hellish configuration with another language that people can actually understand NixOs will take off. I mean, I hate js as much as everybody else, but I’d rather use that to configure nix than whatever that thing is that they use now.
- rjblackman 3y agoThere is garn a typescript frontend to the nix language. https://github.com/garnix-io/garn/ https://github.com/garnix-io/garn/
- stevefolta 3y agoThe language isn't the problem, it's the structure (if you can call it that) of Nixpkgs that makes it so difficult. And no, flakes are not the answer, they may solve composability but they create other problems.
- whateveracct 3y agoI used the repl from day 1 and it was so intuitive. No other alternative has a repl (besides guix I guess)