Troubleshooting
Prerequisites
Red text in the output
This is not a problem. Just read the text and answer. When asked like:
do you want to allow configuration setting 'extra-trusted-substituters' to be set to 'https://haskell-language-server.cachix.org https://nix-community.cachix.org https://cache.iog.io https://deemp.cachix.org' (y/N)?
answer y
.
And then, when asked
do you want to permanently mark this value as trusted (y/N)?
answer y
again. This is to let you use the binary caches listed by the flake.
VSCodium troubleshooting
Substituters and keys
To provide binary caches, flake.nix
files specify nixConfig.extra-trusted-substituters
. If you try, e.g., nix develop
, and Nix
unsuccessfully tries to download from a cache several times, this cache has probably failed. Comment out the lines containing its URL
address in extra-trusted-substituters
.
Repair a derivation
Repair a derivation - manual
Alternative steps:
- Assumptions:
- current working directory contains
flake.nix
- your corrupt derivation is available inside this
flake.nix
by . nameyour-corrupt-derivation
- current working directory contains
- Set
packages.default = your-corrupt-derivation
in thisflake.nix
- Run
nix store repair .#
.#
denotes an installable
Locales
See Locales