An OS based on the Nix packages manager.
# Tips
When updating packages in `nixpkgs`, you can use `lib.fakeSha256` and `lib.fakeSha512` in place of the sha256/sha512 hashes used to validate artifacts. Then run `nix-build -A <package>`, it will error and tell you what hash it expected.
## `#include_next <std***.h>`
Remove `glibc` from your `buildInputs`. It gets duplicated and confuses the linker.
## Fetch SSH Pubkeys from Site
Managing SSH keys is a bit of a pain, but I usually keep `meta.sr.ht` up to date with this (for security and sanity reasons!) so it's helpful to just fetch the public list of keys from there:
```nix
builtins.readFile (builtins.fetchurl https://meta.sr.ht/~chiefnoah.keys)
```
# Reference
- [Simple C Program](https://book.divnix.com/ch06-01-simple-c-program.html)