mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
fetchClosure: Docs and error message improvements
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
50de11d662
commit
40052c7613
3 changed files with 27 additions and 15 deletions
|
@ -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 ]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue