mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
When you apply `builtins.toString` to a path value representing a path in the Nix store (as is the case with flake inputs), historically you got a string without context (e.g. `/nix/store/...-source`). This is broken, since it allows you to pass a store path to a derivation/toFile without a proper store reference. This is especially a problem with lazy trees, since the store path is a virtual path that doesn't exist and can be different every time. For backwards compatibility, and to warn users about this unsafe use of `toString`, we now keep track of such strings as a special type of context. |
||
|---|---|---|
| .. | ||
| include/nix/expr/tests | ||
| tests/value | ||
| .version | ||
| meson.build | ||
| nix-meson-build-support | ||
| package.nix | ||