News for hackers. Stuff that matters.
Re:NixOS 22.11 “Raccoon” Released by bsnnkv on Thursday December 01, 2022 @08:49AM (#33816146)
That last sentence is so true. I'm all in on Nix and I couldn't elevator pitch it if my life depended on it.
Re:NixOS 22.11 “Raccoon” Released by SuperSandro2000 on Thursday December 01, 2022 @09:36AM (#33816739)
NixOS is a reproducible, customizable, programmable and adaptable Linux distribution.
Re:NixOS 22.11 “Raccoon” Released by kadoban on Thursday December 01, 2022 @08:59AM (#33816252)
"A completely repeatable setup all the way down."
Re:NixOS 22.11 “Raccoon” Released by darthrupert on Thursday December 01, 2022 @09:21AM (#33816544)
Uber- I mean Haskell for operating systems.

Like Ansible but more bdsm.

Linux not making you feel superior anymore? Try Nix!

Re:NixOS 22.11 “Raccoon” Released by tomrod on Thursday December 01, 2022 @09:18AM (#33816503)
Completely repeatable setup.

Like Docker, but works.

Re:NixOS 22.11 “Raccoon” Released by SuperSandro2000 on Thursday December 01, 2022 @09:34AM (#33816719)
Docker is not repeatable. If I try to build the same Dockerfile in 12 months then I likely do not get the same output and it wouldn't be surprising if it does not build at all.
Re:NixOS 22.11 “Raccoon” Released by tomrod on Thursday December 01, 2022 @09:37AM (#33816755)
Correct and agreed, hence my "but works" portion of the comment!

The notion of portability is Docker's bread and butter. With proper version pinning you _might_ get lucky with repeatability too. Most people anticipate repeatability to be part of portability, but it really is a distinct notion.

Re:NixOS 22.11 “Raccoon” Released by pxc on Thursday December 01, 2022 @11:30AM (#33818562)
This fits with the usual definition of repeatable. Repeatable means that you can run the same steps, but if the steps are non-deterministic, repeating them doesn't guarantee the same result.

> it wouldn't be surprising if it does not build at all.

This part is a stronger point, and it's true. When you repeat something and what you get is not just a different version or variation but something with totally different or broken behavior, that seems bigger than an ordinary failure of reproducibility.

Re:NixOS 22.11 “Raccoon” Released by JamesSwift on Thursday December 01, 2022 @10:56AM (#33817956)
- Nixpkgs: Content-addressed reproducible package manager. No collisions because of the content-addressed part.

- NixOS: Full OS that says "what if we did the same for the whole OS"

Re:NixOS 22.11 “Raccoon” Released by pxc on Friday December 02, 2022 @12:39AM (#33827232)
Here's one:

Nix solves what Docker merely works around.

The secret of Nix is the application of the common wisdom of memory management discipline in modern programming language design to the process of building and distributing software.

The payoff is, as with garbage collection in the original case, and immense leap in safety, productivity, and maintainability for software build and deployment systems.

Concretely, Nix and the ecosystem of tools built upon it and each other mean:

  - configuration management that never drifts
  - upgrades that can always be rolled back in seconds
  - servers that don't accrue cruft
  - software whose bill of materials comes for free
  - an end to version conflicts
  - packages which can always be bundled into a minimal container image in seconds
  - build artifacts which turn out the same no matter where or when you build them
  - software running as-needed, even locally, without having to be installed or manually cleaned up
  - a single, simple language capable of defining your entire stack, from building individual assets to managing cloud infrastructure to deploying service-oriented systems
  - a final 'works on my machine' bullshit in their development environments without any virtualization, even on macOS
  - user-mode package management for supercomputers or mainframes
  - freely leveraging the largest, most up-to-date package collection in the world
and much more. The benefits and applications and extensions of Nix are so startlingly vast and diverse because ultimately, the Nix ecosystem is not an iteration on a tool— it's a renaissance. You should join it and start shedding obsolete problems.