Files
nix/tests/functional/lang/eval-fail-fetchTree-relative-path.err.exp
Robert Hensing b19bfc6373 fetchTree: improve relative path error wording
Avoid implying that relative paths could work if a base directory
were defined. The file: scheme fundamentally does not support them.
2026-01-12 20:16:26 +01:00

11 lines
415 B
Plaintext

error:
… while calling the 'fetchTree' builtin
at /pwd/lang/eval-fail-fetchTree-relative-path.nix:1:1:
1| builtins.fetchTree "file:./relative-path.tar.gz"
| ^
2|
… while fetching the input 'file:./relative-path.tar.gz'
error: tarball 'file:./relative-path.tar.gz' must use an absolute path. The 'file' scheme does not support relative paths.