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. export LC_ALL=C nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/2322899a1fa85f6547004b2829af81e7b444f506.tar.gz -p openssh ssh -V OpenSSH_6.1p1, OpenSSL 1.0.0i 19 Apr 2012 Note that the first stable release of nixpkgs was in…
    comment by john-shaffer · 2024-01-15 · in Timeline to remove DSA support in OpenSSH
  2. …just grab that one package out of nixpkgs-unstable or nixos-unstable, like: (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz") {}).go_1_21 where you had `pkgs.go` before (in your shell.nix or…
  3. …commit message (from one of my commits) details some of the struggles supporting Ruby under Nix: https://github.com/NixOS/nixpkgs/commit/b6c06e216bb3bface40e... Each of those problems is due to either: 1. Some unmotivated contrivance in…
    comment by cstrahan · 2024-01-15 · in NixOS: Declarative Builds and Deployments
  4. It's definitely misleading because nixpkgs takes it to an extreme: https://github.com/NixOS/nixpkgs/tree/master/doc/languages-f... Most Haskell packages are not included in the AUR and haskellPackages alone makes up over 17,000 packages on…
  5. …tread from the happy path but it seems most of my work requires tools way off the happy path. [1] https://github.com/NixOS/nixpkgs/issues/56814
  6. This is already done in nixos for daemons: https://github.com/NixOS/nixpkgs/blob/65a62c9f75dc97714f836c... and that's on top of the usual stuff systemd exposes. Then you get firejail for more custom apps. You still need that layer and…
  7. Bootstrapping GCC is not hard at all: https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen... (there are a ton of infrequently-used options in there; if you ignore them what's left is quite simple. replace all the options with…
    comment by crotchfire · 2023-12-19 · in Progress toward a GCC-based Rust compiler
  8. …the time some distributions like NixOS just patched the EXPORT_SYMBOL_GPL out of the Linux kernel ( https://github.com/NixOS/nixpkgs/pull/61076/commits/7b77c27c... ) which could even be totally legal for redistribution as the GPL probably…
    comment by nisa · 2023-12-18 · in ZFS Profiling on Arch Linux
  9. …to whatever version the channel provides. For many dev workflows, that's not enough control. See https://github.com/NixOS/nixpkgs/issues/93327 (which grew from https://github.com/NixOS/nixpkgs/issues/9682 )
    comment by ForkMeOnTinder · 2023-12-17 · in Dev onboarding, then and now
  10. …explicitly set ClassicBondedOnly=false need to change it, that could've been a lot clearer. [1] https://github.com/NixOS/nixpkgs/blob/3dda6d5ed56af34534dd4c... [2] https://ubuntu.com/security/notices/USN-4311-1
  11. …so did my confidence using Nix. That's pretty much how it works with most things, I think. [0]: https://github.com/NixOS/nixpkgs/blob/203ecda835bcf69633df71...
    comment by dqv · 2023-12-15 · in NixOS has one fatal flaw
  12. …Shoutouts to this NixOS bug which is still ongoing after causing much pain for many years: https://github.com/NixOS/nixpkgs/issues/18995
  13. …have packages for davinci resolve - they just POST random data to the website. For example NixOS: https://github.com/NixOS/nixpkgs/blob/781e2a9797ecf0f146e814... Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=davin...
  14. …machine. More relevant for the author may be that a lot of pentesting tools aren't in Nixpkgs yet: https://github.com/NixOS/nixpkgs/issues/81418
    comment by YoshiRulz · 2023-11-30 · in Hysp – An independent package manager
  15. ▲ 10
    NixOS/Nixpkgs 23.11
    story by l0b0 · 2023-11-30 · 2 comments
  16. …that is running out of ideas. If anyone has any ideas or suggestions, please take a look at https://github.com/NixOS/nixpkgs/issues/262131 -- TIA, and I apologize again if this detracts from the OP!
    comment by n8henrie · 2023-11-24 · in Separating debug symbols from executables
  17. Nice, would you be willing to submit a PR[1]? [1] https://github.com/NixOS/nixpkgs/issues/269535
    comment by l0b0 · 2023-11-24 · in Ansel
  18. …sha256 = "sha256-FI6dKUrmtTG7DIV0MmY6XdqlUpqdt7boKuXKU6CywjA="; fetchSubmodules = true; }; [0] https://github.com/NixOS/nixpkgs/blob/nixpkgs-unstable/pkgs/...
    comment by nurple · 2023-11-23 · in Ansel
  19. ▲ 1
    NixOS 23.11 – Release Schedule
    story by peter_d_sherman · 2023-11-21 · 0 comments
  20. …from a C project of mine: #!/usr/bin/env nix-shell #! nix-shell -i fish --pure #! nix-shell -I https://github.com/NixOS/nixpkgs/archive/4ecab3273592f27479a583fb6d975d4aba3486fe.tar.gz #! nix-shell --packages fish gcc gnumake gmp git cacert…
    comment by Aerbil313 · 2023-11-14 · in Rust without crates.io
  21. …shutting out other open source projects, complains about being shut out of a proprietary product. https://github.com/NixOS/nixpkgs/pull/126326
  22. …from a C project of mine: #!/usr/bin/env nix-shell #! nix-shell -i fish --pure #! nix-shell -I https://github.com/NixOS/nixpkgs/archive/4ecab3273592f27479a583fb6d975d4aba3486fe.tar.gz #! nix-shell --packages fish gcc gnumake gmp git cacert…
  23. …to build the kernel. Eg. the following defines which commit of zen-kernel should be used as source. https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specifi...
  24. …services.tailscale.enable = true; services.tailscale.package = let old = import(fetchTarball("https://github.com/NixOS/nixpkgs/archive/a695c109a2c.tar.gz")) {}; in old.tailscale; (taken from this issue…
    comment by lloeki · 2023-11-03 · in macOS Sonoma Broke Grep
  25. …you can actually pick whatever version you wish by hitting a specific channel state: nix-env -f https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz -iA ruby nix-env -f https://github.com/NixOS/nixpkgs/archive/88f63d51109.tar.gz -iA…
    comment by lloeki · 2023-11-02 · in macOS Sonoma Broke Grep
  26. …declarative, nix is not - it's indeed functional machinery. This exposes a declarative interface: https://github.com/NixOS/nixpkgs/tree/master/nixos/modules https://github.com/NixOS/nixos-hardware https://github.com/LnL7/nix-darwin/tree/mas…
    comment by lloeki · 2023-11-02 · in macOS Sonoma Broke Grep
  27. …[1] of a pre-compiled mono binary that gets downloaded and installed (after patching paths). [1] - https://github.com/NixOS/nixpkgs/blob/0cbe9f69c234a7700596e9...
  28. The source for the cpython build is the release tarball ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen... ). In that case, NixOS sets SOURCE_DATE_EPOCH (which I suspect will be picked up by the python build) to the latest…
  29. …respects SOURCE_DATE_EPOCH, and Nixpkgs has specific support for setting that environment variable: https://github.com/NixOS/nixpkgs/blob/92fdbd284c262f3e478033... (although I haven't proved that this is actually how it works for cpython's…
  30. …invoked, but I'm not sure what step you're looking for. For example, the xorriso invocations are at https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/make-...
  31. Relevant is https://github.com/NixOS/nixpkgs/pull/85542 , a (very stale) PR that uses mrustc to get straight to Rust 1.29 and then walks the chain.
  32. …built and the output can depend on the non-deterministic order that packages are built. Nixpkgs ( https://github.com/nixos/nixpkgs/ ) is a large collection of recipes for existing software. It contains both rules to build software as well…
  33. …installation. It refers to the nixpkgs package archive's flake's master branch's latest revision ( https://github.com/nixos/nixpkgs ). The available inputs are configurable (again, either through NixOS, home-manager or the package…
  34. …the dependencies. A few years ago, I made a proposal to have some automatic grafting mechanism: https://github.com/NixOS/nixpkgs/pull/10851 This would automagically work by simply maintaining 2 trees of Nixpkgs, one with the cherry-picked…
  35. …and how it compares to hardened allocators such as Android's Scudo or Graphene's hardened_malloc: https://github.com/NixOS/nixpkgs/issues/90147#issuecomment-6... [2] https://github.com/flatpak/flatpak/issues/4466#issuecomment-... [3]…
  36. …unstable you can use `nix run nixpkgs#shaq -- --listen` or `nix shell nixpkgs#shaq` instead. [0] https://github.com/NixOS/nixpkgs/pull/253135
    comment by mig4ng · 2023-09-03 · in Show HN: Shaq, a CLI for Shazam
  37. ▲ 2
    Glicol-CLI package on NixOS just published
    story by mayfly-beak · 2023-08-30 · 0 comments
  38. Definitely not elegant. https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp... I rather have a kernel-level filesystem remapper.
    comment by ylyn · 2023-08-17 · in $HOME, not so sweet $HOME
  39. …(and several other providers) you can build your own image with provided configurations, e.g.: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/v... (see `virtualisation` folder for other providers) Then you can do something…
  40. > May I ask why? Because it breaks the universe? https://github.com/NixOS/nixpkgs/issues/24744 https://discourse.nixos.org/t/using-mold-as-linker-prevents-... And presumably this rattles into glibc vs musl, too. patchelf is a working hack…
    comment by bsder · 2023-08-13 · in The many issues plaguing Nix
  41. …It just treats some common symptoms. Could you not just do a sparse checkout for monorepos? https://github.com/NixOS/nixpkgs/pull/135881
  42. …of it in build scripts are properly rewritten. Any example? There are definitely asterisks ( https://github.com/NixOS/nixpkgs/blob/a4d0fe7270cc03eeb1aba4... ), and the default behavior here is one driver for people going out to ask for…
    comment by abathur · 2023-08-13 · in What's your go to Nix/NixOS pitch?
  43. …-org:nix-community) turns up 1.8k issues and 1k PRs. > I suspect No real need to speculate-- https://github.com/NixOS/nixpkgs/commit/7281a851b3594 makes it somewhat clear that this is a convenience for end users that may want to use (or…
    comment by abathur · 2023-08-12 · in What's your go to Nix/NixOS pitch?
  44. …systemd-boot) and swap and hibernate. Hibernate and swap w/zfs are right out unfortunately. https://github.com/NixOS/nixpkgs/issues/106093 I'm quite a zfs advocate so it's a bitter pill, but for laptop use its reasonable. btrfs seems fine,…
    comment by anotherhue · 2023-08-12 · in What's your go to Nix/NixOS pitch?
  45. …... account called “volth” ... contributed ... to NixOS > Volth maintained NixOS Perl subsystem: https://github.com/NixOS/nixpkgs/commits/master?after=1c72dc... > > The obvious denispetrov.com ... programmer ... a New Yorker ... end of a…
  46. …For example, use an old binutils (2.23.1) in an ephemeral shell: nix-shell -p binutils -I nixpkgs= https://github.com/NixOS/nixpkgs/archive/23befca742f67494f44... (In my opinion, a perfect complement for regular NixOS package search:…
  47. …curlWithGnuTLS, ...)`. To give more specific Nix examples, here's where `curlWithGnuTLS` is defined https://github.com/NixOS/nixpkgs/blob/dbf6c323883ae7e00941f6... By convention, the packages that want curlWithGnuTLS specifically use that…
  48. …but if that's all you mean, it's not different from Nix in practice, from what it sounds like? https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/netw...
  49. …is a little easier to read for me since it doesn't have the duplicated code for each version. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/netw...
  50. …ETA Code (note control over namespaces available for "unshare"): https://github.com/NixOS/nixpkgs/blob/aae1f384fdaecfbeba100c...