mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
This drops the stack trace truncated marker from all the fixtures as those aren't reliable. What we care about is the exact error message and not the stack traces.
15 lines
563 B
Plaintext
15 lines
563 B
Plaintext
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:20 because it has problems:
|
|
- removal: Removed because of XYZ. (https://example.com, https://anotherexample.com)
|
|
|
|
See also https://nixos.org/manual/nixpkgs/unstable#sec-problems
|
|
To allow evaluation regardless, use:
|
|
- Nixpkgs import: import nixpkgs { config = <below code>; }
|
|
- NixOS: nixpkgs.config = <below code>;
|
|
- nix-* commands: Put below code in ~/.config/nixpkgs/config.nix
|
|
|
|
{
|
|
problems.handlers = {
|
|
a.removal = "warn"; # or "ignore"
|
|
};
|
|
}
|