TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nix 2.0 Released

278 pointsby jack_jenningsover 7 years ago

14 comments

zapitaover 7 years ago
I love the core concepts behind Nix, and have great respect for their engineering abilities. However I am skeptical of their ability to achieve broad adoption beyond their current community of passionate experts.<p>There are two reasons for my skepticism:<p>1. User experience. Unless you&#x27;re one of the &quot;passionate experts&quot;, the Nix user experience is pretty terrible. The learning curve is punishing compared to competing systems.<p>2. Elitist culture. In my experience, the Nix community is too smart for its own good. Their technical foundation is so far ahead of mainstream systems, and their technical design so satisfying to passionate experts, that they&#x27;ve forgotten how to live a day in the shoes of a mere mortal. Try pointing out flaws in the user experience, or the need to offer more pragmatic ways to migrate existing systems, and you will be met mostly with derision and reminders of Nix&#x27;s superior engineering. But superior engineering is not everything. If you want to spread the amazing potential of Nix to everyone, then you need to compromise with a flawed, imperfect world. You need to meet users half-way, and guide them to the promised land, instead of waiting for them to show up on their own. Otherwise someone will come along that will do it for you.<p>All this is eerily similar to what happened to functional programming communities.
评论 #16444225 未加载
评论 #16443389 未加载
评论 #16443375 未加载
评论 #16443378 未加载
评论 #16443379 未加载
评论 #16443400 未加载
评论 #16443352 未加载
评论 #16443370 未加载
评论 #16445176 未加载
评论 #16445934 未加载
评论 #16443832 未加载
评论 #16443628 未加载
评论 #16443926 未加载
评论 #16444743 未加载
vishvanandaover 7 years ago
I have been using nix for a while to build binary packages for crashcart[1] and I really love the premise of isolated source-based builds.<p>Unfortunately, over time I&#x27;ve become quite frustrated with the pull-everything from the internet model. If you are building packages from scratch each time instead of pulling down cached version using the nix command, the build breaks quite often.<p>Mostly it is silly stuff like the source package disappearing from the net. A particularly egregious offender is the named.root[2] file being updated, which will cause everything to fail to build until the sha is updated in the build def.<p>I don&#x27;t know that there is a great solution for this problem. Maybe there needs to be a CI system that does from scratch build of all of the packages every day and automatically files bugs. Alternatively, a cache of sources and not just built packages could ease the pain. This issue probably affects ver few nix users, but it has demoted my love of nix down to &quot;still likes but is somewhat annoyed by&quot;.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;oracle&#x2F;crashcart" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;oracle&#x2F;crashcart</a> [2]: <a href="https:&#x2F;&#x2F;www.internic.net&#x2F;domain&#x2F;named.root" rel="nofollow">https:&#x2F;&#x2F;www.internic.net&#x2F;domain&#x2F;named.root</a>
评论 #16443565 未加载
评论 #16443409 未加载
评论 #16443759 未加载
lukegoover 7 years ago
Hurray!<p>I love Nix and I have been looking forward to this new makeover of the UI with the &#x27;nix&#x27; command. It seems like the original command line usages developed incrementally over time, making them quirky and inconsistent, and so it is really welcome to have them redone based on long experience. (Thanks, Nix hackers!)<p>Seeing this released as Nix 2.0 is a really lovely surprise for me this morning :).
hedningover 7 years ago
I guess this is a good place to plug the fairly new bash completion support for Nix (including Nix 2.0)[1]. For those like me who can&#x27;t stand using a cli without completion.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;hedning&#x2F;nix-bash-completions" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hedning&#x2F;nix-bash-completions</a>
Lilian_Leeover 7 years ago
&gt; <i>It introduces a new command named nix, which is intended to eventually replace all nix-</i>* <i>commands with a more consistent and better designed user interface</i><p>This is pretty nice. I&#x27;ve been using nix on my Mac for more than a year now, it works well on mac. But the separated commands are not easy to remember and the help documentation is also separated. This change really improves command line UX
TremendousTover 7 years ago
Heh- after a many years haitus from running any kind of UNIX&#x2F;Linux at home, I was thinking about installing a Linux based distro and NixOS was near the top of my list to try. How does this 2.0 Nix release effect a new install of NixOS- should I wait a bit for a corresponding overhaul of NixOS to come out? I suspect theoretically it&#x27;s not necessary, but wondering if NixOS will be tracking this Nix release in some way shortly... Anyone know?
评论 #16444474 未加载
评论 #16443787 未加载
评论 #16443791 未加载
bfrogover 7 years ago
It looks like they&#x27;re at least attempting to work towards user friendliness, which is by far my biggest complaint.<p>My other big complaint is that when something goes wrong its damn near impossible to figure it out. Trying to figure out why I couldn&#x27;t get postgres working with postgis was nightmarish last year sometime when I last tried nixos.<p>I&#x27;m still really optimistic that this will someday replace arch for me. I just don&#x27;t know <i>when</i>
thomastjefferyover 7 years ago
Finally, a better command-line interface!<p>Hopefully, this means I can stop using the website search for packages.
评论 #16443940 未加载
thinkpad20over 7 years ago
As a nix user for several years this is pretty exciting. I hadn’t been following the 2.0 development, but I was really hoping to see a mention of support for something like a .gitignore equivalent when hashing directories from the filesystem. Seems that that isn’t in this release :(
评论 #16444710 未加载
评论 #16445244 未加载
canadaduaneover 7 years ago
That&#x27;s a really impressive list of contributors. 99 if I&#x27;ve counted correctly.
tarrudaover 7 years ago
It appears that by using a CoW filesystem like Btrfs I can have some of the same advantages of using Nix:<p>- Parallel installation of multiple OSes sharing the same storage pool<p>- Snapshot&#x2F;rollback<p>How does using Nix compare to using a CoW filesystem such as Btrfs or Zfs?
评论 #16445774 未加载
Ixiausover 7 years ago
Very exciting release notes. Nix is great and this makes it even better.
eridiusover 7 years ago
How do I upgrade my existing Nix installation? After updating the nixpkgs-unstable channel, nixpkgs.nix is still 1.11.16 (and nixpkgs.nixUnstable is a 2.0 pre-release).
评论 #16443220 未加载
评论 #16443475 未加载
评论 #16443294 未加载
alexashkaover 7 years ago
This looks really nice.<p>For basic users who have a DigitalOcean droplet with Ubuntu, to run a web server - how does this compare?
评论 #16444216 未加载