nix.dev
nix.dev copied to clipboard
Official documentation for getting things done with Nix.
Unexpected usage error /nix/store/ikl21vjfq900ccbqg1xasp83kadw6q8y-glibc-2.32-46/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE This happens when enviromnet glibc is older than the system glibc. In my case it was outdated haskell-language server pointing to...
That one is tricky because be design `nixos-rebuild` depends on `$NIX_PATH`. There are a few ways forward: a) Flakes will solve this with locking, but they are not released yet....
Would be great with a guide (building on the CI with Cachix guide) that shows how to speed up CI, like minimizing rebuilds, making tests be derivations, and reducing cache...
Add small snippets of common things needed For example https://unix.stackexchange.com/questions/500025/how-to-add-a-file-to-etc-in-nixos/610798 https://www.reddit.com/r/NixOS/comments/nur5zv/simple_way_to_rename_symlink_or_wrap_a_system/
To understand how Nix works under the hook, it's important to describe each bit of ecosystem from high-level. Candidates to describe: - The Store - Profiles (+Garbage Collection?) - Derivation
Secrets
https://www.reddit.com/r/NixOS/comments/mvy86q/how_do_you_manage_your_private_keys/ https://github.com/NixOS/nixpkgs/issues/24288
A common problem is overloading `nix-shell` with two responsibilities, to establish a dev environment and to build necessary software. A first step I've done taken is to help create a...