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. Nix uses the underlying libsandbox function for builds: https://github.com/NixOS/nix/blob/614072adcb56202f0a09532971...
  2. …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…
  3. …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
  4. …be treated as a `path:` url; This is why untracked or unstaged files disappear when using flakes: https://github.com/NixOS/nix/blob/ec6789f9dafce41011418fe6fc...
  5. …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
  6. …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
  7. …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
  8. > 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
  9. 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…
  10. 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?
  11. …-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
  12. …"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…
  13. …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
  14. 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
  15. I think it is https://github.com/NixOS/nix/commit/12fa019ae558641df0a23a79...
  16. 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…
  17. …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
  18. …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"
  19. …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"
  20. …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"
  21. …arbitrary packages) using the `.withPackages` function. E.g. `julia.withPackages ["Plots"]`. [1]: https://github.com/NixOS/nix/issues/4584
  22. …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
  23. …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
  24. …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
  25. …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,…
  26. …not in valid base32 which is what Nix apparently expects! Tricky!) "sha256 - Nothing makes sense": https://github.com/NixOS/nix/issues/806
  27. …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
  28. 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
  29. …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
  30. …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
  31. …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…
  32. …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
  33. https://github.com/NixOS/nix/issues/613
  34. 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?
  35. …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.…
  36. …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
  37. …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
  38. 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
  39. …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
  40. 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?
  41. I got u https://github.com/NixOS/nix/issues/6316
  42. 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?
  43. …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
  44. …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
  45. …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
  46. …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…
  47. …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
  48. …worse but I might be missing something. After I ejected out of playing with it on Mac OS, I found: https://github.com/NixOS/nix/issues/458#issuecomment-1019743... Over 13 parts to remove NixOS from Mac OS, involving reboots, /etc/fstab, OS…
  49. I haven't used it, but afaict the --ignore-environment flag is intended for roughly the same usecase. https://github.com/NixOS/nix/issues/4359#issuecomment-907768... notes some differences.
    comment by abathur · 2022-12-25 · in Nix and NixOS, my pain points
  50. …are a couple of things blocking it from becoming the default. I think the main thing is this PR: https://github.com/NixOS/nix/pull/6530 - Eelco Dolstra gave a talk on this recently as well if you wanna know more:…
    comment by dd_ · 2022-12-01 · in NixOS 22.11 “Raccoon”