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. …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…
  2. 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
  3. …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”
  4. …doesn't sandbox builds on macOS at all by default, and turning sandboxing on breaks some builds: https://github.com/NixOS/nix/pull/1821 But the libc issue goes deeper. This blog post has some explanation:…
    comment by pxc · 2022-09-21 · in Hacking anything with GNU Guix
  5. …... [7] - https://teu5us.github.io/nix-lib.html [8] - https://github.com/lf-/nix-doc [9] - https://github.com/NixOS/nix [10] - https://github.com/NixOS/nixpkgs
    comment by shiryel · 2022-09-02 · in We want to make Nix better
  6. This thing, for example: https://github.com/NixOS/nix/issues/3121 Or the issues surrounding submodules.
    comment by otabdeveloper4 · 2022-08-07 · in Our Roadmap for Nix
  7. …true that it's trivial to turn a Git repo into a flake, because flakes don't do submodules, and https://github.com/NixOS/nix/pull/5497 has languished :(
    comment by Smaug123 · 2022-08-07 · in Our Roadmap for Nix
  8. …it from the Arch repo and using Nix's installer (+ the adjustments described here [1]). [1] https://github.com/NixOS/nix/issues/879#issuecomment-4109043...
    comment by Cosi1125 · 2022-08-07 · in Our Roadmap for Nix
  9. …to remove packages by name (using the index number will work). The source is pretty readable: https://github.com/NixOS/nix/tree/master/src/nix
  10. …to pass a special flag to enable it, which is undocumented and have to dig through github issues: https://github.com/NixOS/nix/issues/4423
    comment by pca006132 · 2022-08-05 · in Nix: Taming Unix with Functional Programming
  11. …of parameters that as of now can not really be mapped to a functionality in nix flakes. [0] https://github.com/NixOS/nix/issues/2861
    comment by eulenteufel · 2022-08-05 · in Nix: Taming Unix with Functional Programming
  12. …support for nix flakes and so on, without hyphens: nix build, nix shell, nix run, etc. repo: https://github.com/nixos/nix docs: https://nixos.org/manual/nix/stable/ * nixpkgs & nixos is a huge mono-repo containing instructions how to fetch…
  13. …/etc/zshrc. So, people who use zsh by choice or default get dumped on a bit :/ Some background in https://github.com/NixOS/nix/issues/3616
    comment by abathur · 2022-07-31 · in Using Nix on macOS
  14. …talk on the nix macos effort you can “enjoy” the sight of some c++ directly generating scheme here: https://github.com/NixOS/nix/blob/2.9.2/src/libstore/build/l...
  15. …the Nix store and see if they exist there, is because Nix does not yet support recursive calls: https://github.com/NixOS/nix/issues/13 (nearly ten years old). However, the RFC for adding support was finally merged:…
    comment by solatic · 2022-04-25 · in How Nix and NixOS get so close to perfect
  16. …of macOS and the root dir being read-only > Took me a month to finally remove Nix from my macOS https://github.com/NixOS/nix/issues/6206#issuecomment-105938...
  17. …later ~secure whatever new location was chosen). For some general references on the above, see https://github.com/NixOS/nix/issues/2925#issuecomment-499517... https://github.com/NixOS/nix/issues/2925#issuecomment-523340...…
  18. …EDIT: to get the sha, unfortunately you have to perform some esoteric command line incantations: https://github.com/NixOS/nix/issues/1880#issuecomment-366615... and https://gist.github.com/boxofrox/d8a3080fbb03f84b7d7a31e102b...
    comment by JamesSwift · 2022-04-19 · in Nixery – Docker images on the fly with Nix
  19. …callPackage convention. > - An issue open since 2018 that the manuals simple example doesn't build: https://github.com/NixOS/nix/issues/2259 People chiming in years later that they only could build the example after reading the suggestions…
    comment by takeda · 2022-03-18 · in How to Learn Nix
  20. …way for this common case? - An issue open since 2018 that the manuals simple example doesn't build: https://github.com/NixOS/nix/issues/2259 People chiming in years later that they only could build the example after reading the suggestions…
    comment by BoardsOfCanada · 2022-03-15 · in How to Learn Nix
  21. …Looks like there is an issue for duplicate profile entries already; just hasn’t gotten attention. https://github.com/NixOS/nix/issues/5587 I’ll take a look. The verbosity of “legacyPackages.x86_64-linux.ripgrep” in the search results may…
    comment by tomberek · 2022-02-19 · in Nix: An idea whose time has come
  22. profile removal: Fixed in https://github.com/NixOS/nix/pull/6086 search speed: $ time nix search nixpkgs ripgrep * legacyPackages.x86_64-linux.ripgrep (13.0.0) A utility that combines the usability of The Silver Searcher with the raw speed…
    comment by tomberek · 2022-02-19 · in Nix: An idea whose time has come
  23. …why this is not getting advertised more widely, as it's been worked on for a few years already: https://github.com/NixOS/nix/issues/779 For example, opening a temporary shell with, say, GIMP, is as simple as: nix run nixpkgs.gimp If you…
    comment by nextos · 2022-02-19 · in Nix: An idea whose time has come
  24. …works its awesome. When it doesnt work though prepare to get your hands dirty fixing some packages. https://github.com/NixOS/nix/issues/6113 https://github.com/NixOS/nixpkgs/pull/160554 The ability to compile everything simply just from…
    comment by Cloudef · 2022-02-19 · in Nix: An idea whose time has come
  25. …of cake. Just run nix-env -i without argument. Nix has been behaving that way for at least 8 years: https://github.com/NixOS/nix/issues/308
    comment by Diti · 2022-02-01 · in Installing Every Arch Package
  26. …is under-documented. (In part due to a small community, etc.). A couple of examples I've run into: https://github.com/NixOS/nix/issues/2259 showed people trying to make use of the "hello world" package which was given in the NixPkgs…
    comment by rgoulter · 2022-01-24 · in The Curse of NixOS
  27. …plan not to repeat its mistakes, or the new one risks being just as slow as the old one. [1] : https://github.com/NixOS/nix/issues/2652 [2] : https://cl.tvl.fyi/c/depot/+/1123/
    comment by kripke · 2021-12-02 · in Tvix: We Are Rewriting Nix
  28. …I know what you mean. Relative to Docker, it's way less popular. But it has 5.2k stars on https://github.com/NixOS/nix . But yeah. The DX "needs work". which is a nice way of saying, I find it downright painful to use.
    comment by kortex · 2021-11-30 · in Will Nix Overtake Docker?
  29. …really. I wouldn't be entirely surprised if OpenBSD works too, I might spin up a VM and see... [0] https://github.com/NixOS/nix/issues/3280 [1] https://github.com/NixOS/nixpkgs/pull/81459 [2] https://github.com/LnL7/nix-darwin
    comment by bpye · 2021-10-14 · in OpenBSD 7.0
  30. …://nixos.org/manual/nixpkgs/stable/#chap-overlays [3] https://github.com/nix-community/poetry2nix [4] https://github.com/nixos/nix [5] https://hydra.nixos.org/build/153568733/download/1/manual/co...
    comment by takeda · 2021-09-20 · in Ditch your version manager
  31. …and now it's September with still no release. OTOH, the list of milestone issues is pretty short: https://github.com/NixOS/nix/issues?q=is%3Aopen+is%3Aissue+m... I expect the delay is mostly due to all this debate raging about `nix shell`…
  32. …himself, but unfortunately he closed it again as unrealistic a number of years later [0]. [0] https://github.com/NixOS/nix/issues/14#issuecomment-37820190...
  33. …hardest part has just been keeping up with nix when we need to rewrite the build system. However, https://github.com/NixOS/nix/pull/3160 to switch to Meson, has gotten new life breathed into it. Pamplemousse, who is interning where…
    comment by Ericson2314 · 2021-07-16 · in Valve Steam Deck
  34. …an older mac and have troubles with installing nix, try out the new installer in this GH issue: https://github.com/NixOS/nix/pull/4289 (the command is in the "Try it out" section). It's already merged, but not released yet. So far this has…
  35. The show's happening here now: https://github.com/NixOS/nixpkgs/issues/95903 https://github.com/NixOS/nixpkgs/pull/125184 https://github.com/NixOS/nix/pull/4867 There's also not-directly-related cross-functional need here on the install…
    comment by lloeki · 2021-06-02 · in NixOS 21.05
  36. …sets, like `{ foo = "bar"; }`), rather than an implicit environment/context. My rationale is at https://github.com/NixOS/nix/issues/1361#issuecomment-390420... The thing about shadowing is that `with` will not shadow anything that's in the…
    comment by chriswarbo · 2021-04-09 · in Nix is the ultimate DevOps toolkit
  37. ▲ 1
    17 Years of NixOS contributions visualized
    story by groodt · 2021-02-16 · 0 comments
  38. …free remote access to DTKs for open source developers, in cooperation with MacStadium. Cite: https://github.com/NixOS/nix/issues/3853#issuecomment-678249...
  39. …technology that has plenty of documentation and examples. > You see, Please. Stop. Repeating. Lies. https://github.com/NixOS/nix/issues/8 Please don't go ad hominem and don't accuse me of lying. This issue is submitted by Nix devs…
    comment by k32 · 2020-11-10 · in One Week of NixOS
  40. …specific packages before they broke) I'd rather prefer a working and reproducible system. [1]: https://github.com/NixOS/nixpkgs/issues/53834 [2]: https://github.com/hauleth/nix-elixir [3]: https://github.com/NixOS/nix/issues/8 [4]:…
    comment by aszlig · 2020-11-08 · in One Week of NixOS
  41. …way. (Or "impure", such that building with the same inputs might result in different outputs). https://github.com/NixOS/nix/issues/2270
    comment by rgoulter · 2020-10-16 · in NixCon Live
  42. …non-determinstic builds far more noticiable. See these: https://github.com/NixOS/rfcs/pull/62 https://github.com/NixOS/nix/issues/4087
    comment by Ericson2314 · 2020-09-29 · in Nix × IPFS – Milestone 1
  43. …as tags are mutable, and thus hashes are needed to validate them. See e.g. the discussion over at https://github.com/NixOS/nix/pull/3216 .
  44. The issue is just fixed! https://github.com/NixOS/nix/pull/3212
    comment by autojoechen · 2020-05-23 · in What Is Nix?
  45. …of a Dockerfile. [1] Catalina issues notwithstanding, though there is a 4 command solution now: https://github.com/NixOS/nix/issues/2925
    comment by silviogutierrez · 2020-05-22 · in Programming Inside a Container
  46. …to be able use Nix, and I'm upset with the Catalina situation. Can follow some discussion here https://github.com/NixOS/nix/issues/2925
    comment by pmahoney · 2020-05-22 · in MacOS Catalina: Slow by Design?
  47. It's funny, I just had to do this a few days ago. This comment has worked for me on two machines: https://github.com/NixOS/nix/issues/2925#issuecomment-539570...
    comment by mjhoy · 2020-05-22 · in MacOS Catalina: Slow by Design?
  48. …package for Emacs. The Homebrew core/cask versions only provides a limited feature set[2][3]. [1]: https://github.com/NixOS/nix/issues/2925 [2]: https://github.com/Homebrew/homebrew-core/issues/31510 [3]:…
    comment by soraminazuki · 2020-05-22 · in MacOS Catalina: Slow by Design?
  49. …firmlink to e.g. /usr/local/nix , since realpath does not report the actual path on firmlinks. [1] https://github.com/NixOS/nix/issues/2926#issuecomment-559989...
    comment by danieldk · 2020-05-21 · in What Is Nix?
  50. Buried in that issue is a workaround, although GitHub's UI hides it from you: https://github.com/NixOS/nix/issues/2925#issuecomment-604501...
    comment by endgame · 2020-05-21 · in What Is Nix?