Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
Nix
Package manager and build tool for repeatable, declarative builds
Nix is a package manager and build tool designed to enable repeatable and declarative builds 1. It functions as a defensive tool 2 within software development and system management contexts.
As a package manager, Nix manages software dependencies and installations through a declarative approach, allowing developers to specify exactly what packages and versions their projects require. This declarative model contrasts with imperative package managers by treating system configurations as code that can be version-controlled and reproduced identically across different machines.
The build tool aspect of Nix enables reproducible builds by isolating build environments and managing all inputs explicitly. This isolation prevents builds from accidentally depending on undeclared system dependencies, a common source of non-reproducibility in traditional build systems.
Nix also functions as the foundation for NixOS, a Linux distribution built entirely around declarative system configuration. In this context, the entire operating system—from the kernel to user applications—is defined declaratively and can be rolled back or reproduced precisely.
The defensive classification 2 reflects Nix's role in protecting against common software supply chain and build reproducibility issues. By enforcing explicit dependency declaration and isolated build environments, Nix defends against hidden dependencies, version conflicts, and non-deterministic builds that could introduce security vulnerabilities or unexpected behavior.
Nix's declarative nature makes it particularly valuable for infrastructure as code, development environment management, and ensuring consistency across development, testing, and production systems. The tool's ability to maintain multiple versions of packages simultaneously without conflicts addresses a fundamental challenge in dependency management.
Facts 3
| Attribute | Value | Confidence | Sources | Cited |
|---|---|---|---|---|
| Category | package manager, build system, programming language, and Linux distribution base | low | 1 | source ↗ |
| Type | defensive disputed
also reported: dual-use (low)
|
low | 1 | 2 |
| Open source | yes | low | 1 | 23 |
Platform 1
Neighbourhood
Affected by 2
Frequently mentioned together 16
Sources 58
- video Derivations to Deployments: Practical Nix in Production · Lobsters
- Show HN: Leaves – a text-UI disk usage treemap visualizer · Hacker News (YC)
- Maak v1.0.0 :: infinitely extensible command runner, build sys in Lisp · Lobsters
- Beating the frontier on NetHack · Lobsters
- deploy-rs in 2026: reviving our Nix deployment tool · Lobsters
- Shrinking NixOS Ram footprint and resource requirements to the bare minimum · Lobsters
- Building NixOS using Nixtamal · Lobsters
- Understanding Nix flakes · Lobsters
- Privilege Escalation in Linux Build Services: What Nix and Lix Exposed · LinuxSecurity: Features
- json2dir: Directory archives, made human-readable · Lobsters
- Pared - remove unwanted Apple Intelligence models without disabling SIP · Lobsters
- spoonful: static site generator written in Nix · Lobsters
- Nix on the Steam Frame · Lobsters
- Dear User, email is here to stay · Hacker News (YC)
- video Optimising for fast builds with GHC · Lobsters
- Design your programming languages right (2024) · Lobsters
- tobi: keep commands running in detachable sessions across your devices · Lobsters
- A build graph that rolls dice · Hacker News (YC)
- Show HN: Microsoft Office running with Wine on Linux with no virtualization · Hacker News (YC)
- A Nix store is three functions · Lobsters
- Review a pull request by booting it · Hacker News (YC)
- Review a pull request by booting it · Lobsters
- My Nix Config Is Intimate · Lobsters
- Any Nix package, live in the browser · Hacker News (YC)
- Any Nix package, live in your browser · Lobsters
- Hillingar - MirageOS Unikernels on NixOS · Lobsters
- Bootstrappable builds: how and why · Lobsters
- One flake to rule them all · Lobsters
- One Nix flake to rule them all · Hacker News (YC)
- Bootstrappable Builds: How and Why · Hacker News (YC)
- Software should work, and talking about it needn't be boring · The Register: Security
- Your executable is a SQLite database · Lobsters
- Executable Is a SQLite Database · Hacker News (YC)
- Hister - A private, full content search index that you control · Lobsters
- KDE Linux experiences · Lobsters
- Three ways to smuggle SQLite into Nix · Hacker News (YC)
- Autolith: A programming agent with a live runtime · Hacker News (YC)
- Hister – A private, full content search index that you control · Hacker News (YC)
- Build-time systemd schedule · Lobsters
- nixpkgs-multiverse: fast mode · Lobsters
- I want extern "fil-C" · Hacker News (YC)
- I want extern "fil-c" · Lobsters
- I want extern "fil-C" · Hacker News (YC)
- nixpkgs isn't doing too hot · Lobsters
- Super Mario Derivations · Hacker News (YC)
- Super Mario Derivations · Lobsters
- Nix Overrides That Expire Themselves · Lobsters
- nixpkgs has a due-process problem · Lobsters
- The Nix sandbox is a hidden input · Lobsters
- Show HN: NixOS-DGX-Spark – Nix and NixOS on the DGX Spark · Hacker News (YC)
50 of 58 sources shown · Pro unlocks the full list