diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-27 14:02:54 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-01-27 14:02:54 +0100 |
commit | c03f41055de6f885ade7fa7927bf83fb697a3dba (patch) | |
tree | 3b30c29fda0a2c9a545219b1ac817dc7a527fe6e /src/libstore/filetransfer.cc | |
parent | 8e758d402ba1045c7b8273f8cb1d6d8d917ca52b (diff) |
Add traces to errors while updating flake lock file
Example:
$ nix build --show-trace
error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/no-such-branch': HTTP error 422 ('')
response body:
{
"message": "No commit found for SHA: no-such-branch",
"documentation_url": "https://docs.github.com/rest/reference/repos#get-a-commit"
}
… while fetching the input 'github:NixOS/nixpkgs/no-such-branch'
… while updating the flake input 'nixpkgs'
… while updating the lock file of flake 'git+file:///home/eelco/Dev/nix'
Diffstat (limited to 'src/libstore/filetransfer.cc')
0 files changed, 0 insertions, 0 deletions