Files
nix/tests/functional/cli-characterisation/nix-env-qa-system-with-context.err.exp
Robert Hensing eda9c014c5 fix(eval): render store path context in user-facing format
forceStringNoCtx error messages leaked internal string context
representation (e.g. '!out!<hash>-name.drv'). Use DerivedPath
syntax instead: '<store-path>^out' for built, plain path for
opaque, and '<drv-path> (deep)' for deep derivation references.
2026-02-26 18:06:51 +01:00

12 lines
581 B
Plaintext

error:
… while querying the derivation named 'system-with-context-1.0'
… while evaluating the 'system' attribute of a derivation
at /pwd/cli-characterisation/system-with-context.nix:11:3:
10| name = "system-with-context-1.0";
11| system = "${normal}";
| ^
12| outPath = "/nix/store/fake";
error: the string '/test-root/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-normal-1.0' is not allowed to refer to a store path (such as '/test-root/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-normal-1.0.drv^out')