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. …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
  2. …Shoutouts to this NixOS bug which is still ongoing after causing much pain for many years: https://github.com/NixOS/nixpkgs/issues/18995
  3. …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...
  4. …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
  5. …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
  6. 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
  7. …sha256 = "sha256-FI6dKUrmtTG7DIV0MmY6XdqlUpqdt7boKuXKU6CywjA="; fetchSubmodules = true; }; [0] https://github.com/NixOS/nixpkgs/blob/nixpkgs-unstable/pkgs/...
    comment by nurple · 2023-11-23 · in Ansel
  8. …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
  9. …shutting out other open source projects, complains about being shut out of a proprietary product. https://github.com/NixOS/nixpkgs/pull/126326
  10. …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…
  11. …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...
  12. …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
  13. …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
  14. …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
  15. …[1] of a pre-compiled mono binary that gets downloaded and installed (after patching paths). [1] - https://github.com/NixOS/nixpkgs/blob/0cbe9f69c234a7700596e9...
  16. 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…
  17. …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…
  18. …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-...
  19. 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.
  20. …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…
  21. …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…
  22. …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…
  23. …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]…
  24. …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
  25. 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
  26. …(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…
  27. > 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
  28. …It just treats some common symptoms. Could you not just do a sparse checkout for monorepos? https://github.com/NixOS/nixpkgs/pull/135881
  29. …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?
  30. …-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?
  31. …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?
  32. …... 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…
  33. …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:…
  34. …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…
  35. …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...
  36. …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...
  37. …ETA Code (note control over namespaces available for "unshare"): https://github.com/NixOS/nixpkgs/blob/aae1f384fdaecfbeba100c...
  38. …'channel:nixpkgs-unstable' -A pkgsCross.x86_64-freebsd.libcpuid For the gory details, check out https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specifi... and https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specifi...
    comment by Ericson2314 · 2023-07-11 · in Wayland on OpenBSD
  39. Adding it to Nixpkgs.[0] [0] https://github.com/NixOS/nixpkgs/pull/242662
  40. …own test. Gixy is still run when writing any nginx config file with the writer helper function https://github.com/NixOS/nixpkgs/blob/b6cc06826812247fe54655...
    comment by SuperSandro2000 · 2023-07-04 · in Hunting for Nginx alias traversals in the wild
  41. NixOS doesn't run Gixy anymore, see https://github.com/NixOS/nixpkgs/pull/209075 .
  42. …to share across workstation/CI/etc. Some example Nix code for building Docker images is here https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...
  43. …[1]. It's included in Nixpkgs, actively maintained, and easier to work with IMO. [1]: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f...
  44. Yes: https://api.github.com/users/<userhandle> From: https://github.com/NixOS/nixpkgs/blob/master/maintainers/mai...
  45. …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…
    comment by hackernudes · 2023-06-19 · in My First Impressions of Nix
  46. …to install a package, search for it at https://search.nixos.org And if this doesn't work, go to https://github.com/NixOS/nixpkgs/issues and search for the name (in both open and closed issues and PRs).
    comment by drdaeman · 2023-06-19 · in My First Impressions of Nix
  47. …to see a complex python app being packaged in Nix. (disclaimer: it's still rough but it does work) https://github.com/NixOS/nixpkgs/tree/master/pkgs/servers/ho...
    comment by lloeki · 2023-06-19 · in My First Impressions of Nix
  48. …default one, which would be reified as its own specific derivation for that package to depend on. https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen...
    comment by lloeki · 2023-06-19 · in My First Impressions of Nix
  49. …in nixpkgs where the idea is to get a mostly-static builds that only depend on libsystem on MacOS. https://github.com/NixOS/nixpkgs/issues/214611 At some point the difference does seem to become mostly "what do you do during linking".
    comment by viraptor · 2023-06-08 · in Mergeable libraries [video]
  50. …that Nixlang isn't popular, though. Anecdotally, I consume a lot of software that makes use of Nix. https://github.com/NixOS/nixpkgs