1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

fetchClosure: Docs and error message improvements

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Robert Hensing 2023-06-07 12:47:18 +02:00 committed by Robert Hensing
parent 50de11d662
commit 40052c7613
3 changed files with 27 additions and 15 deletions

View file

@ -52,7 +52,7 @@ if [[ "$NIX_REMOTE" != "daemon" ]]; then
fromStore = \"file://$cacheDir\";
fromPath = $nonCaPath;
}
" | grepQuiet -E "The .fromPath. value .* is input addressed, but input addressing was not requested. If you do intend to return an input addressed store path, add .inputAddressed = true;. to the .fetchClosure. arguments."
" | grepQuiet -E "The .fromPath. value .* is input-addressed, but .inputAddressed. is set to .false."
[ -e $nonCaPath ]