Hacker GitHub

← All repos

NixOS/nixpkgs

View on GitHub ↗ ★ 26,678 Nix

Nix Packages collection & NixOS

597 mentions on Hacker News by 359 people: 26 stories, 571 comments · first 2013-12-15 · latest 2026-10-21

Mentions per year 597 mentions · busiest year 2021 (112)
20082026
  1. …clunky and time consuming. For example: this is how a package is installed from a .deb using nix: https://github.com/NixOS/nixpkgs/blob/nixos-19.09/pkgs/tools... If Arch can do it in two commands, so should NixOS, just with two lines of…
    comment by alufers · 2021-11-22 · in How to Learn Nix
  2. No experience with ruby but nixpkgs has sections for many languages. See ruby: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f... . Also a quick search on the NixOS wiki gives this: https://nixos.wiki/wiki/Packaging/Ruby .…
    comment by 42jd · 2021-11-22 · in How to Learn Nix
  3. …NixOS's few drawbacks, and I think deduplication could solve that pretty much completely. Details: https://github.com/NixOS/nixpkgs/issues/89380
  4. …I use NixOS which generates my sshd_config. By default, NixOS: * Disables root login via password: https://github.com/NixOS/nixpkgs/blob/8605fbd737e526c40ff8f0... * Sets ciphers according to Mozilla's recommendations:…
    comment by kangaroopouch · 2021-11-08 · in Simple SSH Security
  5. …much finer grained than something like Nix. For example, the NixPkg for abseil-py is defined here: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/pkgs/devel... The BUILD files for abseil-py are found in the repo. Something you'll notice…
    comment by gravypod · 2021-11-07 · in Reflecting on the Shake Build System
  6. …technology advancement / alienating division of labor. (This is why I spend so much time on https://github.com/nixos/nixpkgs/ to untangle our great open source commons and make even in it's totality it graspable!), but "everyone gets to be…
  7. …use, it seems like a really bad idea to deprecate it from a pragmatic point of view. [1]: https://github.com/NixOS/nixpkgs/search?l=Nix&q=which
    comment by soraminazuki · 2021-10-28 · in Debian's Which Hunt
  8. …blog post uses oci.virtualisation. Upstream PR to turn openvscode-server into an expression is at https://github.com/NixOS/nixpkgs/issues/140344#issuecomment-... .
  9. …Any time you need a package that's not in nixpkgs, feel free to submit a packaging request for it: https://github.com/NixOS/nixpkgs/issues/new/choose (Issues -> New Issue -> Packaging Request) Especially if you explain that it's a popular…
    comment by SkyMarshal · 2021-10-16 · in NixOS and the Art of OS Configuration (2018)
  10. https://github.com/NixOS/nixpkgs/issues/131486 leave a thumbs-up on the packaging request if you care about it.
  11. …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
  12. …Epkg with dependencies these days is https://docs.brew.sh/Homebrew-on-Linux . :-) Or maybe Nixpkgs: https://github.com/NixOS/nixpkgs ? Deployment-wise I've already done the Bash script writing thing to help a friend automate his deployment…
  13. …they're facing. I think the mentality extends to more than just fixing linker issues, e.g. this https://github.com/NixOS/nixpkgs/issues/9656 At the end of the day, I much prefer trusting upstream than having to trust packagers to do…
  14. …there and you’ll probably get some good feedback before publishing. https://discourse.nixos.org/ https://github.com/NixOS/nixpkgs/issues
  15. …no matter how experienced Nix developer you are. See my first package I started to maintain: https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen... These 23 lines of nix will fetch the package with the given tag from GitHub, check…
    comment by pimeys · 2021-10-08 · in XMonad – The Automated Tiling WM
  16. …from non-Nix setups. - You could install it on NixOS by specifying these options in your config https://github.com/NixOS/nixpkgs/blob/release-21.05/nixos/mo... (they're also listed at https://nixos.org/manual/nixos/stable/options but that…
    comment by chriswarbo · 2021-10-04 · in Building with Nix on Replit
  17. …compared to conventional package managers. See the Chrome example in the NixOS Wiki[2]. [1]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio... [2]: https://nixos.wiki/wiki/Overlays
    comment by soraminazuki · 2021-10-03 · in Building with Nix on Replit
  18. …channel? E.g., let newerPkgs = import (builtins.fetchGit { name = "release-21.05-pkgs"; url = "https://github.com/NixOS/nixpkgs/"; ref = "refs/heads/release-21.05"; rev = "8d6407e5a442e5e2fc50c3ca36411b6995afbc17"; }) {}; in and then…
    comment by callahad · 2021-09-29 · in Spaces launch in Element
  19. …on what should be done to improve experience, but nix's codebase may not be conductive to that https://github.com/NixOS/nixpkgs/issues/93327#issuecomment-7... and nix contributors don't even see this as an issue…
    comment by dmitriid · 2021-09-21 · in Ditch your version manager
  20. …the derivation hadn't been written to be reusable what you can do is to copy this whole directory https://github.com/NixOS/nixpkgs/tree/nixos-21.05/pkgs/devel... to your local project and import the nix files locally. In this case, some of…
    comment by Arkh4m · 2021-09-21 · in Ditch your version manager
  21. …of available versions. Quote: "in NixPkgs we choose to restrict the number of maintained versions", https://github.com/NixOS/nixpkgs/issues/93327#issuecomment-6... So it's already worse than the hypothetical "what if rvm don't have a…
    comment by dmitriid · 2021-09-21 · in Ditch your version manager
  22. …that you need to find this hash, and there's no way to do it. See this issue and discussion there: https://github.com/NixOS/nixpkgs/issues/93327
    comment by dmitriid · 2021-09-21 · in Ditch your version manager
  23. …about, that no one should install historical versions etc. BTW, another issues linked is from 2015 https://github.com/NixOS/nixpkgs/issues/9682 Given that my question never got an answer in HN (not until I had a discussion with the…
    comment by dmitriid · 2021-09-21 · in Ditch your version manager
  24. …to learn to read Nix expressions. The original expression that builds all ruby versions is here: https://github.com/NixOS/nixpkgs/blob/6120ac5cd201f6cb593d1b... Here's an example that shows how to build a customized version for NodeJS…
    comment by Arkh4m · 2021-09-20 · in Ditch your version manager
  25. Looks like you are right. Relevant issue: https://github.com/NixOS/nixpkgs/issues/93327
    comment by ducktective · 2021-09-20 · in Ditch your version manager
  26. …at least 18 years. You'd think there would be easy answers to these questions by now. [1] Example, https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/...
    comment by dmitriid · 2021-09-20 · in Ditch your version manager
  27. …on ubuntu today and you read the blog post a whole later you'll probably get a newer version. [1] https://github.com/NixOS/nixpkgs
    comment by rvanlaar · 2021-09-20 · in Ditch your version manager
  28. …uby2.7-doc/hirsute-updates,hirsute-updates,hirsute-security,hirsute-security 2.7.2-4ubuntu1.2 all [2] https://github.com/NixOS/nixpkgs/commit/5f9f17cc11caa07e4a9f...
    comment by rvanlaar · 2021-09-20 · in Ditch your version manager
  29. …I fear this is the standard response I'd get from HA devs if I ever dare file an issue. [1]: https://github.com/NixOS/nixpkgs/pull/126319#issuecomment-86... [2]: https://github.com/NixOS/nixpkgs/pull/126326#issuecomment-86...
    comment by soraminazuki · 2021-09-18 · in Home Assistant – open-source home automation
  30. …why their package manager is the way it is. pip doesn't seem to offer very good support for that: https://github.com/NixOS/nixpkgs/pull/126326#issuecomment-86... (I don't use pip so I don't know enough to comment on it) The NixOS also…
  31. …To the point that they will threaten to relicense their own software: https://github.com/NixOS/nixpkgs/pull/126326#issuecomment-86... And when they ask about it: https://community.home-assistant.io/t/consider-to-avoid-addi... It
  32. …you need to to is to actually pin it to a specific commit and keep track of it in your VCS. [1] https://github.com/NixOS/nixpkgs [2] https://r13y.com
  33. …a cross-compile target (1 and 2) in Nixpkgs[1][2]. [0] https://github.com/toltec-dev/toolchain [1] https://github.com/NixOS/nixpkgs/pull/102503 [2] https://github.com/NixOS/nixpkgs/pull/105432
  34. …and no source files changed (which happens most of the time), the build on master is instant. [1] https://github.com/NixOS/nixpkgs/blob/ce38fecabe49a76fcd08d0...
    comment by takeda · 2021-08-25 · in Building Container Images with Nix
  35. …I should have specified -- it is glibc 2.32-48 . This the source specifying how glibc is built: https://github.com/NixOS/nixpkgs/blob/97c5d0cbe76901da0135b0... . I've amended the article so that it says `glibc` rather than `libc`, and…
    comment by rostayob · 2021-08-17 · in Speeding up atan2f
  36. …work. For larger packages it'll handle cross-compilation of dependencies and linking. See [1]. [0] https://github.com/NixOS/nixpkgs/pull/131310 [1] https://nix.dev/tutorials/cross-compilation
    comment by siraben · 2021-08-09 · in Emu68: M68K Emulation for ARM
  37. …for machines used in a business setting. Looks like there’s slow but steady progress being made: https://github.com/NixOS/nixpkgs/pull/53901 .
    comment by ochoseis · 2021-07-30 · in NixOS on the Framework
  38. …a Haskell package failed, and sure enough the culprit was a glibc update from 2.31 to 2.32. [0] https://github.com/NixOS/nixpkgs/issues/107358
  39. …has just happened in Nix, with comments like "neovim does not work on m1" 2 weeks ago ( https://github.com/NixOS/nixpkgs/issues/95903#issuecomment-8... ). it works just fine in homebrew. - when installing it on a new mac, you need to use…
  40. …led me to open my first PR with nixpkgs [1]. Thanks for convincing me to give it another shot! [1]: https://github.com/NixOS/nixpkgs/pull/130402
  41. https://github.com/NixOS/nixpkgs/blob/master/lib/systems/exa... for examples of the platforms we support today. https://nix.dev/tutorials/cross-compilation#cross-compilatio... for an approachable introduction. Currently we just support…
    comment by Ericson2314 · 2021-07-16 · in Valve Steam Deck
  42. …got to that point. If these things were causing you difficulties, perhaps you dodged a bullet. [1] https://github.com/NixOS/nixpkgs/blob/af65c312fb1b7dd93a7881... [2] https://nixos.org/download.html#nix-quick-install [3]…
  43. I realize that the current naming is confusing, so while writing a tutorial I opened https://github.com/NixOS/nixpkgs/issues/126949 that hopefully gets us to a naming scheme that's more consistent with the triplets in cross compilation…
  44. …and not native compilation, you will have to build a lot more. All "pkgsCross" systems are found in https://github.com/NixOS/nixpkgs/blob/master/lib/systems/exa...
  45. …used inside Nix module systems when they enable configuration of services like MySQL, e.g., here: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/nixos/modu... Hope that helps!
  46. …Unfortunately Nix doesn't support aarch64 yet, only x86_64... It seems to be coming though: https://github.com/NixOS/nixpkgs/issues/95903
  47. …S6 uses the service-directory to store state-files in the same directory (no /etc-/var split). 1: https://github.com/NixOS/nixpkgs/pull/122844
    comment by GuidoW · 2021-06-27 · in Avoiding Complexity with Systemd
  48. …too, if you want. 0: https://matrix.to/#/#nixos-on-arm:nixos.org 1: https://discourse.nixos.org/ 2: https://github.com/NixOS/Nixpkgs/issues
    comment by samueldr · 2021-06-24 · in Mobile NixOS
  49. …us experiment with more unusual ideas like a uutils-based stdenv[1] instead of GNU coreutils. [0] https://github.com/NixOS/nixpkgs/issues/123095 [1] https://github.com/NixOS/nixpkgs/pull/116274
  50. …talk about "verifiable builds" instead. [0]: https://edolstra.github.io/pubs/phd-thesis.pdf [1]: https://github.com/NixOS/nixpkgs/issues/9731