Files
lix/tests/functional2/lang/attrs-__overrides/warning.err.exp
T
piegames 4e1c216fd3 libexpr: Fix rec-set-overrides detection
Unfortunately, the previous code only detected superficial __overrides
and did not catch cases like `rec { __overrides.foo = 2; }`.

Change-Id: Ic38bdef1a6a3bdea91915aef44447f4ecc238259
2026-01-31 15:32:27 +01:00

7 lines
318 B
Plaintext

warning: __overrides attributes are deprecated and will be removed in the future. Use --extra-deprecated-features rec-set-overrides to silence this warning.
at /pwd/in.nix:3:4:
2| "${"foo"}" = "bar";
3| __overrides = { bar = "qux"; };
| ^
4| }