Files
nixpkgs/pkgs/test/problems/cases/deprecated-error/expected-stderr
Andreas Rammhold 9db1435899 tests.problems: regenerate all the test fixtures
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.
2026-07-24 11:39:29 +02:00

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"
};
}