The omni-repo that contains packages for [[NixOS]]. # Links - [Nixpkgs Maintainers](https://github.com/NixOS/nixpkgs/tree/master/maintainers) - [Contributing to Nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md) # References - [Overlays best practices and techniques](https://nixcademy.com/posts/mastering-nixpkgs-overlays-techniques-and-best-practice/) # Helpful Tips ## Overrides [Nixpkgs Docs](https://nixos.org/manual/nixpkgs/stable/#chap-overrides) `<pkg>.override { ... }` is for overriding inputs to a derivation. `<pkg>.overrideAttrs { ... }` is helpful for overriding attributes before they're passed to `stdenv.mkDerivation`. Available on most packages. > use `genAttrs systems.flakeExposed` instead of `forAllSystems` ## Fake Hashes Use `lib.fakeHash` if you don't know what the hash is. A rebuild will usually tell you what the expected is. Use this with `fetchurl` and related functions. There's also `lib.fakeSha256`, but it looks like you should only use it on bare hashes, when you know it's a [[SHA-256]] hash and **not** one prefixed with the hash algorithm before it such as with `fetchurl`.