1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libexpr/flake
Eelco Dolstra c03f41055d 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'
2021-01-27 14:02:54 +01:00
..
call-flake.nix Represent 'follows' inputs explicitly in the lock file 2020-06-11 14:40:21 +02:00
config.cc Move to separate file 2020-11-26 13:16:36 +01:00
flake.cc Add traces to errors while updating flake lock file 2021-01-27 14:02:54 +01:00
flake.hh Ask for confirmation before allowing flake Nix configuration settings 2020-11-26 12:37:23 +01:00
flakeref.cc Merge branch 'kwq/path-dir-query' of https://github.com/kquick/nix 2020-09-29 23:42:43 +02:00
flakeref.hh Switch comment format from '// ...' to '/* ... */' for consistency. 2020-09-28 09:37:26 -07:00
lockfile.cc Fix assertion failure in LockFile::LockFile() 2020-11-19 20:31:30 +01:00
lockfile.hh Capitalize JSON for consistency 2020-10-28 17:54:28 -05:00