Hacker GitHub

← All repos

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

Mentions per year 133 mentions · busiest year 2022 (26)
20082026
  1. ▲ 4
    Nix pull request: Add builtins.wasm
    story by poly2it · 2026-09-26 · 0 comments
  2. Nix uses the underlying libsandbox function for builds: https://github.com/NixOS/nix/blob/614072adcb56202f0a09532971...
  3. …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…
  4. …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
  5. …be treated as a `path:` url; This is why untracked or unstaged files disappear when using flakes: https://github.com/NixOS/nix/blob/ec6789f9dafce41011418fe6fc...
  6. …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
  7. …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
  8. …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
  9. > 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
  10. 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…
  11. 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?
  12. …-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
  13. …"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…
  14. …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
  15. 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
  16. I think it is https://github.com/NixOS/nix/commit/12fa019ae558641df0a23a79...
  17. 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…
  18. …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
  19. …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"
  20. …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"
  21. …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"
  22. …arbitrary packages) using the `.withPackages` function. E.g. `julia.withPackages ["Plots"]`. [1]: https://github.com/NixOS/nix/issues/4584
  23. …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
  24. …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
  25. …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
  26. …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,…
  27. …not in valid base32 which is what Nix apparently expects! Tricky!) "sha256 - Nothing makes sense": https://github.com/NixOS/nix/issues/806
  28. …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
  29. ▲ 2
    Typing "Nix-env -I" should not try to install every single package (2014)
    story by todsacerdoti · 2024-01-05 · 0 comments
  30. 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
  31. …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
  32. …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
  33. …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…
  34. ▲ 4
    Statically built Nix on Alpine Linux #6751 (2022)
    story by peter_d_sherman · 2023-10-22 · 1 comment
  35. …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
  36. https://github.com/NixOS/nix/issues/613
  37. 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?
  38. …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.…
  39. …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
  40. …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
  41. 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
  42. …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
  43. 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?
  44. I got u https://github.com/NixOS/nix/issues/6316
  45. 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?
  46. …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
  47. …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
  48. …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
  49. …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…
  50. …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