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
535 B
Plaintext
15 lines
535 B
Plaintext
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:15 because it has problems:
|
|
- deprecated: Package is deprecated and replaced by b
|
|
|
|
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.deprecated = "warn"; # or "ignore"
|
|
};
|
|
}
|