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
20082026
-
…Takes 4m 19s on my M1 Pro. [0] https://github.com/coq-community/fourcolor [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen...
comment by siraben · 2023-04-07 · in A colorful problem that has long frustrated mathematicians -
…the latest Neovim in Nixpkgs Unstable, modulo a week or two. Neovim 0.9 is on its way in right now: https://github.com/NixOS/nixpkgs/pull/225152 Just make sure your user's Nix profile is included in your XDG paths like so, and the .desktop…
comment by pxc · 2023-04-07 · in Neovim 0.9 -
Some progress on that front: https://github.com/NixOS/nixpkgs/pull/202497
comment by anotherhue · 2023-03-31 · in Immutable Linux distributions -
…for it. I'm pretty sure this isn't true. What does upstream emacs have to do for Nix to provide https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/appli... I will agree though that applications which have their own update mechanism or…
comment by ParetoOptimal · 2023-03-29 · in Ubuntu stops shipping Flatpak by default -
…etc. This causes the same sort of "works on my machine" headaches that Nix was meant to solve. See https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/... I avoid this by importing Nixpkgs via a wrapper, which defaults to calling…
comment by chriswarbo · 2023-03-18 · in 20 years of Nix -
The nix option for it was added in 2017: https://github.com/NixOS/nixpkgs/pull/32946 If you find it important, I'd encourage opening a PR to ask for flambda to be enabled by default at https://github.com/NixOS/nixpkgs/issues/new/choose .…
comment by ParetoOptimal · 2023-03-06 · in Nix-Powered Development with OCaml -
Are you using flakes? AFAIK `command-not-found` does not work with them. See https://github.com/NixOS/nixpkgs/issues/171054 and https://discourse.nixos.org/t/why-isnt-there-an-official-bui... `nix-index` is a flake-compatible alternative:…
comment by jml7c5 · 2023-03-02 · in Nix journey part 0: Learning and reference materials -
…NetBSD/pkgsrc is another one of the few that does well, albeit with a less-fancy design [3]. [1]: < https://github.com/NixOS/nixpkgs/blob/96c0fdeb6accc9f76f1887... > [2]: < https://packages.gentoo.org/packages/media-video/ffmpeg > [3]: <…
comment by OmarAssadi · 2023-03-02 · in Nix journey part 0: Learning and reference materials -
…but it goes nowhere. Does anyone have a working link to teams_1.5.00.23861_amd64.deb? According to https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/appli... the hash is supposed to be sha256-h0YnCeJX//l4TegJVZtavV3HrxjYUF2Fa5KmaYmZW8E…
comment by daef · 2023-02-22 -
…packages require patching for various sources of nondeterminism, and this is an ongoing effort: https://github.com/NixOS/nixpkgs/labels/6.topic%3A%20reprodu... )
comment by mikepurvis · 2023-02-21 · in Haiku package management -
…itself builds properly now.[1] So it definitely could be a viable alternative in the future. [0] https://github.com/NixOS/nixpkgs/pull/116274 [1] https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-85...
comment by siraben · 2023-02-13 · in Reimplementing the Coreutils in a modern language (Rust) -
…do, I'd suggest dropping me a line so I don't do anything drastic to the package or module. [0] https://github.com/NixOS/nixpkgs/pull/176835 [1] https://github.com/nix-community/poetry2nix
comment by williamvds · 2023-02-06 · in Ask HN: Is anyone successfully self-hosting Firefox Sync? -
…into a shell.nix file for reasons that aren't entirely clear to me (and I had to hunt it down from https://github.com/NixOS/nixpkgs myself instead of finding docs or a bug report): astunparse = super.astunparse.overridePythonAttrs (old: {…
comment by gaganyaan · 2023-01-29 · in Ask HN: What Next After Ubuntu? -
Looks useful on big repositories! https://github.com/nixos/nixpkgs/ would be a great benchmark for a tool like this :) One of the larger repos on github, close to half a million commits by a large set of contributors to thousands of files.
comment by phaer · 2023-01-29 · in Show HN: Git Heat Map – a tool for visualising git repo activity for each file -
…much a self-documented boolean. But when I'm in the general situation you describe, I tend to just search github.com/NixOS/nixpkgs in order to figure out usage, if it's not documented elsewhere already. Here is an example for isLinux…
comment by capableweb · 2023-01-23 · in Zero to Nix, an unofficial, opinionated, gentle introduction to Nix -
…enabled it), as MAC addresses via `networking.interfaces.<name>.macAddress` are set through it: https://github.com/NixOS/nixpkgs/blob/65e07f20cf04f5db9921dc... kstenerud: I assume you tried that option? Edit: ah, you caught that in an edit…
comment by winterqt · 2023-01-15 · in Ubuntu 22.04 LTS servers and phased apt updates -
…network devices, used by systemd-udevd(8) and in particular its net_setup_link builtin”. [1] https://github.com/NixOS/nixpkgs/blob/65e07f20cf04f5db9921dc... [2] https://github.com/NixOS/nixpkgs/blob/65e07f20cf04f5db9921dc... [3]…
comment by mananaysiempre · 2023-01-15 · in Ubuntu 22.04 LTS servers and phased apt updates -
…them. FYI the GNU Make in Nixpkgs doesn't have this problem, since it patches the reference https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/devel... Nixpkgs also provides wrappers/shims around Python, etc. but is also patches all #!…
comment by chriswarbo · 2023-01-11 · in Surprising Consequences of macOS’s Environment Variable Sanitization -
…to quickly try out this new pager! I know I'll be following along to see how it develops. :) -- 1: https://github.com/NixOS/nixpkgs/pull/209034
comment by pxc · 2023-01-05 · in Show HN: Ov – feature rich terminal pager -
…nginx is bit complicated[0], in general, it's fairly easy to set up new systemd services. [0]: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/nixos/modu...
comment by jbboehr · 2023-01-02 · in VanillaOS: Immutable Ubuntu-Based Linux -
…[3] https://gitweb.gentoo.org/repo/gentoo.git/tree/app-editors/v... [4] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio... [5] https://nixos.org/manual/nixpkgs/stable/#ssec-controlling-ph...
comment by roland-s · 2023-01-01 · in Setting up my new laptop: Nix style -
…around Nix code is much, much easier in comparison. Everything you need is in a single repo, https://github.com/NixOS/nixpkgs , and written in a JSON-like language. Many people also claim that Nix is hard because it requires a functional…
comment by soraminazuki · 2022-12-25 · in Nix and NixOS, my pain points -
…for the long-term, but it seemed so odd that this was preventing anything from going to unstable. ( https://github.com/NixOS/nixpkgs/issues/159612 )
comment by toastal · 2022-12-25 · in Nix and NixOS, my pain points -
…have a concept akin to use-flags, which is what distinguishes Gentoo from Linux from Scratch, see https://github.com/NixOS/nixpkgs/issues/12877 . The fact that Nix doesn't have these is also one reason why it's easier to cache than Gentoo…
comment by filmor · 2022-12-23 · in Nix on the Steam Deck -
…to install a specific version - not git commit or git tag, version - of a package is the problem. https://github.com/NixOS/nixpkgs/issues/93327 Nix before flakes used channels, each with a flat global namespace. Flakes are intended to sit…
comment by thomastjeffery · 2022-12-22 · in Devbox 0.2.0: Automatic Nix installer, plugins, and background services -
…of different versions in nixpkgs. For example, postgres currently has 11 through 15 available ( https://github.com/NixOS/nixpkgs/blob/e7f345ca81f4f5513c4e73... ). Nodejs has 14, 16, 18, and 19 ( https://github.com/NixOS/nixpkgs/blob/e7f345c…
comment by Smaug123 · 2022-12-21 · in Devbox 0.2.0: Automatic Nix installer, plugins, and background services -
…to restrict Nix fixed output derivation which would make impossible the buildGoModule "hack". [1] https://github.com/NixOS/nixpkgs/issues/84826 [2] https://www.tweag.io/blog/2020-06-18-software-heritage/
comment by lewo · 2022-12-14 · in Building Go programs with Nix flakes -
…for resource/security isolation, and some NixOS modules use them where possible, for example: https://github.com/NixOS/nixpkgs/blob/8d559672bedd54034b711d...
comment by nh2 · 2022-12-04 · in NixOS 22.11 “Raccoon” -
…tractable with most OSs. If you like to test my changes, you can read more about my approach here: https://github.com/NixOS/nixpkgs/pull/203750 For testing I distribute Nvidia as documented here: https://github.com/jhvst/jhvst.github.io/blo…
comment by Jhsto · 2022-12-01 · in NixOS 22.11 “Raccoon” -
…driver currently which breaks connecting external displays on X11 depending on your hardware. See https://github.com/NixOS/nixpkgs/issues/199024 and the comments of https://github.com/NixOS/nixpkgs/pull/165188 . Also setting Coolbits…
comment by pongo1231 · 2022-12-01 · in NixOS 22.11 “Raccoon” -
I started working on https://github.com/NixOS/nixpkgs/pull/82131 because the idea that different kernel => reshuffled userland is a stupid an a massive source of unneeded switching costs. I am not mad at Linux, but monoliths at the 10M LoC…
comment by Ericson2314 · 2022-11-07 · in Migrate from Linux to FreeBSD -
…no alternatives available). There's a PR hopefully landing soon in nixpkgs to add freebsd building: https://github.com/NixOS/nixpkgs/pull/82131 I was wondering if there's a builder at some point, it may improve the compatibility for the…
comment by viraptor · 2022-11-07 · in Migrate from Linux to FreeBSD -
Alas, nixos does not support homed: https://github.com/NixOS/nixpkgs/issues/91243
comment by VTimofeenko · 2022-11-02 · in Hard User Separation with NixOS -
The NixOS update has some details: https://github.com/NixOS/nixpkgs/pull/198999 ### Changes between 3.0.6 and 3.0.7 [1 Nov 2022] * Fixed two buffer overflows in punycode decoding functions. A buffer overrun can be triggered in X.509…
comment by buro9 · 2022-11-01 · in OpenSSL 3.0.7 fixes X.509 email address buffer overflows -
…hope so! I guess I just gotta wait a few more days for my distro to upgrade the package ( https://github.com/NixOS/nixpkgs/pull/196290 ) - but that's completely fine. What I'd like to ask is whether you consider important the issues that…
comment by kuramitropolis · 2022-10-17 · in Ardour 7.0 -
There is an ongoing issue in Nixpkgs[0] to package this quine, more help would be appreciated! [0] https://github.com/NixOS/nixpkgs/issues/131492
comment by siraben · 2022-10-06 · in A Ruby program that generates itself through a 128-language quine loop -
…nix-shell, which does actually export the right environment variables directly to the shell. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-supp...
comment by kqbx · 2022-09-21 · in Hacking anything with GNU Guix -
…so people can share thier sub circuits and ICs Why not just a github repository? Kind of like https://github.com/NixOS/nixpkgs
comment by krasin · 2022-09-20 · in JITX (YC S18) launches general availability and announces Series A from Sequoia -
…an IDE). Lesson of the day: never use mtimes, they'll bite you in the ass sooner or later! [1] https://github.com/NixOS/nixpkgs/issues/177720 [2] https://reproducible-builds.org/docs/timestamps/ [3] https://github.com/qt/qtdeclarative/commi…
comment by eliaspro · 2022-09-13 · in Mtime comparison considered harmful (2018) -
…desires in all but the simplest cases. Don't just take my word for it. Peter Simons also agrees: < https://github.com/NixOS/nixpkgs/commit/3c8b33eee442fd573d47... >
comment by rssoconnor · 2022-09-03 · in We want to make Nix better -
…Now, the real "workflow" with nix is look at other setups, or just look at the code: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/s... And look at the code is the only reliable way to see what exactly is supported. My second…
comment by mamcx · 2022-09-02 · in We want to make Nix better -
…[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 -
The standard build functions in Nixpkgs can apply patches, e.g. https://github.com/NixOS/nixpkgs/search?q=patches
comment by chriswarbo · 2022-08-25 · in Fix it, Fork it, Fuck off (2019) -
…nothing about Nix or how it works, so maybe you're changing pip's index-url somewhere else.. [0]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/...
comment by zevisert · 2022-08-18 · in Nixpacks takes a source directory and produces an OCI compliant image -
…that release every few months rather than after each pr. Here's one example where I've done it: https://github.com/NixOS/nixpkgs/blob/350fd0044447ae8712392c... since new rust has already been merged and rbspy still has no release with the…
comment by viraptor · 2022-08-17 · in Do not ship work in progress: An open letter -
…with few dependencies might look like below let pkgs = import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/c92ca95afb5043bc6faa0d526460584eccff2277.tar.gz"; }) { }; in pkgs.mkShell { nativeBuildInputs = […
comment by ananthakumaran · 2022-08-12 · in Asdf Performance -
…its cmake scripts, because cmake does not honor the cache and tries to download things anyway: https://github.com/NixOS/nixpkgs/blob/901978e1fd43753d56299a... - cardboard didn't require it because meson honors the cache (and Nixpkgs…
comment by AndersonTorres · 2022-08-08 · in Our Roadmap for Nix -
…You can take a look at it here, which also explains some of the Fish initialization process: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/p... and here's where the hooks go in the Fish package, where the comments describe the…
comment by pxc · 2022-08-07 · in Our Roadmap for Nix -
…and referenced by nix itself by an arbitrary (versionless) name in a global namespace in this file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/... That last bit can be avoided by using pinning and flakes, but it's still…
comment by thomastjeffery · 2022-08-06 · in Nix: Taming Unix with Functional Programming -
…It also contains the whole nixos operating system and tooling to support all of that. repo: https://github.com/NixOS/nixpkgs docs: https://nixos.org/manual/nixpkgs/stable/ docs nixos: https://nixos.org/manual/nixos/stable/ This tooling…
comment by phaer · 2022-08-05 · in Nix: Taming Unix with Functional Programming