NixOS/nix
View on GitHub ↗ ★ 17,960 C++
Nix, the purely functional package manager
133 mentions on Hacker News by 94 people: 6 stories, 127 comments · first 2014-10-11 · latest 2026-09-26
20082026
-
▲ 4
Nix pull request: Add builtins.wasmstory by poly2it · 2026-09-26 · 0 comments
-
Nix uses the underlying libsandbox function for builds: https://github.com/NixOS/nix/blob/614072adcb56202f0a09532971...
comment by pingiun · 2026-02-21 · in macOS's Little-Known Command-Line Sandboxing Tool (2025) -
…as I start the thing manually, then let it finish.) (For an example of it, see me force-pushing to https://github.com/NixOS/nix/pull/14863 implementing my own code review.) But I suspect this is not what people want. To actually fire devs…
comment by Ericson2314 · 2026-01-07 · in Opus 4.5 is not the normal AI agent experience that I have had thus far -
…but the principal implementation of Nix has a very old school setup using bison and flex: https://github.com/NixOS/nix/blob/master/src/libexpr/parser.... https://github.com/NixOS/nix/blob/master/src/libexpr/lexer.l
comment by muvlon · 2025-12-16 · in Rust GCC backend: Why and how -
…be treated as a `path:` url; This is why untracked or unstaged files disappear when using flakes: https://github.com/NixOS/nix/blob/ec6789f9dafce41011418fe6fc...
comment by Hnus · 2025-12-02 · in Nixtml: Static website and blog generator written in Nix -
…resolved derivation.) That is fine with me. --- As I linked in my other reply, see my fast-growing https://github.com/NixOS/nix/pull/14408 docs PR where I try to formally nail all this stuff down for the first time.
comment by Ericson2314 · 2025-10-31 · in Nix Derivation Madness -
…derivation modulo" entirely. I've recently started some fancy formal spec-level documentation here https://github.com/NixOS/nix/pull/14408 The "resolution" equivalence class is both simpler and better than the "hash derivation modulo ..."…
comment by Ericson2314 · 2025-10-31 · in Nix Derivation Madness -
…hopefully gain proper provenance tracking that will tell you exactly where a store path came from: https://github.com/NixOS/nix/pull/11749
comment by edolstra · 2025-10-31 · in Nix Derivation Madness -
> Not sure how Nix doesn’t win the readability contest Not sure how you can be serious. https://github.com/NixOS/nixpkgs/blob/d600f006643e074c2ef1d7... buildGoDir() { local d; local cmd; cmd="$1" d="$2" . $TMPDIR/buildFlagsArray echo "$d"…
comment by yencabulator · 2025-07-19 · in Trying Guix: A Nixer's impressions -
This is interesting to me given https://github.com/NixOS/nix/issues/10823 We have a decent amount of code in bash that I'd like to get working on Windows too, once Nix on Windows is ready. I'm happy to rewrite it to a better language, but…
comment by Ericson2314 · 2025-05-06 · in Brush (Bo(u)rn(e) RUsty SHell) a POSIX and Bash-Compatible Shell in Rust -
You can use the low level stuff without the language to forge your own journey. https://github.com/NixOS/nix/blob/master/doc/manual/source/s... I am working on the docs for this as we speak.
comment by Ericson2314 · 2025-02-12 · in Is NixOS truly reproducible? -
…-i` (please stop using `nix-env`). [1] About 3 times more packages than Alpine. [2] RIP! ____ [1]: https://github.com/NixOS/nix/issues/308 [2]: https://repology.org/repositories/graphs
comment by Diti · 2025-01-21 · in How many Alpine packages can you install at once? (2024) -
…"pattern serialization length" limitation, this issue has been driving me nuts for quite a while: https://github.com/NixOS/nix/issues/4119 Unfortunately sandbox-exec isn't really documented (and supposedly deprecated?) so trying to sort…
comment by n8henrie · 2024-11-09 · in Multiple new macOS sandbox escape vulnerabilities -
…feature I wanted to bolt in from Nix was having strings carrying dependency information (see https://github.com/NixOS/nix/blob/2f678331d59451dd6f1d9512cb... for a description of the feature). In my prototyping, this was pretty simple to…
comment by zombiezen · 2024-09-19 · in Zb: An Early-Stage Build System -
Or maybe it's https://github.com/NixOS/nix/commit/35575873813f60fff26f27a6... the commit log is tad unclear and the GHSA writer didn't bother themselves with linking the offending code
comment by SSLy · 2024-09-10 · in Nix 2.24 is vulnerable to (remote) privilege escalation -
I think it is https://github.com/NixOS/nix/commit/12fa019ae558641df0a23a79...
comment by SSLy · 2024-09-10 · in Nix 2.24 is vulnerable to (remote) privilege escalation -
This is fixed in 2.24.6: https://github.com/NixOS/nix/releases/tag/2.24.6 See also https://discourse.nixos.org/t/vulnerability-in-nix-2-24/5190... for updates. Can someone link to the actual fix? It's a bit hard to navigate the git history…
comment by rstarast · 2024-09-10 · in Nix 2.24 is vulnerable to (remote) privilege escalation -
…running into rate limits and get your IP banned. Don't rely on GitHub for critical infrastructure. https://github.com/NixOS/nix/issues/6975
comment by arianvanp · 2024-08-15 · in GitHub was down -
…by the implementors. Here is a github issue where they talk about some of the transition to cpp: https://github.com/NixOS/nix/issues/341
comment by davorak · 2024-07-13 · in Lix 2.90 "Vanilla Ice Cream" -
…Nix-the-command-line-tool etc. CppNix is specifically the code body developed in https://github.com/nixos/nix . It (among other things) implements Nix-the-language. E.g. https://tvix.dev/ also implements Nix-the-language, despite sharing n
comment by goldsteinq · 2024-07-11 · in Lix 2.90 "Vanilla Ice Cream" -
…last time. Googling a bit- it’s also unclear to me if this bug was solved in mainline Nix itself? https://github.com/NixOS/nix/issues/3872 If this Lix changelog is mostly comparing itself to Nix 2.18, I’m curious how many other changes are…
comment by snailmailman · 2024-07-11 · in Lix 2.90 "Vanilla Ice Cream" -
…arbitrary packages) using the `.withPackages` function. E.g. `julia.withPackages ["Plots"]`. [1]: https://github.com/NixOS/nix/issues/4584
comment by forgotpwd16 · 2024-06-03 · in Show HN: Brioche – A new Nix-like package manager -
…and Eelco subsequently closing his own pull request and filing a new PR with a different approach. https://github.com/NixOS/nix/pull/10513 The save-nix-together signatories describe this as “ignoring other people and only considering his…
comment by philodeon · 2024-04-29 · in A leadership crisis in the Nix community -
…him multiple times to even read her PR message at > all and think about if he could be mistaken > https://github.com/NixOS/nix/pull/9911#issuecomment-19252073... > (after eelco ignored the PR for quite a while, also!) Clicking that link…
comment by tpmoney · 2024-04-23 · in Open letter to the NixOS foundation -
…chugging along with Windows via MinGW - https://discourse.nixos.org/t/nix-on-windows/1113/108 and https://github.com/NixOS/nix/issues/1320 , for example.)
comment by Smaug123 · 2024-04-16 · in Tvix – A New Implementation of Nix -
…appear to have a more vibrant community than a project of comparable size and popularity like https://github.com/NixOS/nix , while the latter uses the criticized "Pessimistic Merging" methodology. Perhaps I'm looking at the wrong signals,…
comment by imiric · 2024-03-31 · in XZ backdoor: "It's RCE, not auth bypass, and gated/unreplayable." -
…not in valid base32 which is what Nix apparently expects! Tricky!) "sha256 - Nothing makes sense": https://github.com/NixOS/nix/issues/806
comment by peter_d_sherman · 2024-03-26 · in Nix Hash – Hashes in Nix (Base16 vs. Base32 vs. Base64 for Encoding SHA256/512) -
…by hydra.nixos.org. At that point, we can actually try out the XP feature at scale. Also see https://github.com/NixOS/nix/issues/8919 for this accepted RFC Once those things are done, we can get back to merging in the IPFS code. Now that…
comment by Ericson2314 · 2024-01-17 · in Cloudflare R2-Backed Nix Binary Cache on Fly.io -
▲ 2
Typing "Nix-env -I" should not try to install every single package (2014)story by todsacerdoti · 2024-01-05 · 0 comments
-
Maybe nix ( https://github.com/NixOS/nix ) is a better tool for what you're looking for if you're on Linux, you can setup nix shells and work in them, what's installed inside the shell won't be accessible from outside.
comment by blackpill0w · 2023-11-28 · in Modern C++ Programming Course -
…readers in the future. [1]: https://github.com/DNA-and-Natural-Algorithms-Group/SST-sequ... [2]: https://github.com/NixOS/nix/issues/903
comment by cge · 2023-11-17 · in Rust without crates.io -
…But it opens a connection for every single request so it ends up killing the performance [1] [1] - https://github.com/NixOS/nix/issues/8794
comment by JamesSwift · 2023-11-12 · in An Overview of Nix in Practice -
…programming language plus utilities. It is designed for packaging software in a reproducible way ( https://github.com/nixos/nix/ ). Each package is called a "derivation", which is a function that takes inputs and makes output. The inputs…
comment by hackernudes · 2023-10-26 · in Nix Survival Mode: macOS upgrades won't break Nix anymore -
▲ 4
Statically built Nix on Alpine Linux #6751 (2022)story by peter_d_sherman · 2023-10-22 · 1 comment
-
…is not idempotent yet (and my work on trying to resolve that has stalled, unfortunately, see https://github.com/NixOS/nix/pull/7603 ), so trying to run it again to fix this issue will result in errors.
comment by iFreilicht · 2023-09-27 · in macOS Sonoma is available today -
https://github.com/NixOS/nix/issues/613
comment by lrvick · 2023-09-02 · in Ask HN: What's the best CLI installation experience you've ever seen? -
https://github.com/NixOS/nix/issues/1396 “Working as intended” Last time I checked (~year ago) this wordage was still on the documentation page; someone seems to have hit in January. It seems to be missing now though. Six years with a…
comment by misnome · 2023-08-13 · in What's your go to Nix/NixOS pitch? -
…link to the massive PR trying to work out more efficient copying of local flakes to the Nix store: https://github.com/NixOS/nix/pull/6530 A few dedicated folks are working really hard to break that thing down and test it and get it merged.…
comment by pxc · 2023-08-13 · in NixOS RFC 136 approved: A plan to stabilize the new CLI and Flakes incrementally -
…there hasn't been any progress. The devs are doing the best they can with the resources available. https://github.com/NixOS/nix/pulse/monthly
comment by soraminazuki · 2023-08-12 · in The many issues plaguing Nix -
…is a work in progress[2].) [1] https://nixos.org/manual/nix/stable/command-ref/nix-shell.ht... [2] https://github.com/NixOS/nix/pull/5189
comment by mananaysiempre · 2023-07-29 · in Intent to approve PEP 703: making the GIL optional -
looks like that was added last year: https://github.com/NixOS/nix/blob/4a880c3cc085841a1537040405... https://www.zknotes.com/note/5970
comment by takeda · 2023-07-10 · in NixOS and my descent into insanity -
…plus utilities that are useful to define and work with software packages in a reproducible way ( https://github.com/nixos/nix/ ). Each package is called a "derivation", which is a function that takes inputs and makes output. The inputs are…
comment by hackernudes · 2023-06-19 · in My First Impressions of Nix -
It's a known issue but fortunately is being worked on: https://github.com/NixOS/nix/pull/6530
comment by rnhmjoj · 2023-06-16 · in Why did Nix adopt Flakes? -
I got u https://github.com/NixOS/nix/issues/6316
comment by Ericson2314 · 2023-05-26 · in Super Colliding Nix Stores: Nix Flakes for Millions of Developers -
My biased suggestion and would benefit from your C++ understanding is the Nix community ( https://github.com/NixOS/nix ). More frankly, “best” is very subjective and you should find a passion or topic or task you are already interested and…
comment by tomberek · 2023-03-22 · in Ask HN: Where to Start Contributing OSS? -
…that for something that is all about like... deterministic and reproducible or whatever: https://github.com/NixOS/nix/issues/458#issuecomment-1019743... it touched the system in a bunch of places and was a zoo to uninstall
comment by MuffinFlavored · 2023-02-27 · in The Determinate Nix Installer -
…ps://github.com/DeterminateSystems/nix-installer/issues/1... and there is an upstream Nix issue, too: https://github.com/NixOS/nix/issues/7850 .
comment by grhmc · 2023-02-27 · in The Determinate Nix Installer -
…in single-user mode? The default installer's multi-user mode doesn't work with SELinux enforcing ( https://github.com/NixOS/nix/issues/2374 ), and I didn't see a flag for enabling single-user mode when I used `install --help`. (There are…
comment by kirbyfan64sos · 2023-02-27 · in The Determinate Nix Installer -
…seen the recent work on it, check it out below. Théophane Huffschmitt is working on it here: https://github.com/NixOS/nix/pull/5380 and here: https://github.com/NixOS/nix/pull/5226 tracking issue: https://github.com/NixOS/nix/issues/5208…
comment by pxc · 2023-01-23 · in Zero to Nix, an unofficial, opinionated, gentle introduction to Nix -
…This is a pain point, but there appears to be discussions and a PR for Shebang support with flakes: https://github.com/NixOS/nix/pull/5189
comment by one-punch · 2023-01-15 · in Single-file scripts that download their dependencies