diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2025-12-25 21:33:39 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2025-12-26 16:50:02 +0000 |
| commit | 0ce6504c6c0679f45505273af59f00048a405d1d (patch) | |
| tree | bc18e4e40845f6239ae6d59ef92314a249a9d72e /pkgs/development/python-modules/rangehttpserver | |
| parent | f129cf8b939a206ceb82d39d41aa9e2bc6f3a1a3 (diff) | |
pkgsLLVM.git-doc: improve eval error
Before the change `pkgsLLVM.git-doc` evaluated to uncatchable error:
$ nix build --no-link -f. pkgsLLVM.git-doc
error:
… while evaluating a branch condition
at pkgs/top-level/splice.nix:59:11:
58| # on to splice them together.
59| if lib.isDerivation defaultValue then
| ^
60| augmentedValue
… while evaluating the attribute 'git-doc'
at pkgs/top-level/all-packages.nix:1159:3:
1158|
1159| git-doc = lib.addMetaAttrs {
| ^
1160| description = "Additional documentation for Git";
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'doc' missing
at pkgs/top-level/all-packages.nix:1165:5:
1164| '';
1165| } gitFull.doc;
| ^
1166|
Did you mean src?
After the change it's more typical `throw` error:
$ nix build --no-link -f. pkgsLLVM.git-doc
error:
… while evaluating a branch condition
at pkgs/top-level/splice.nix:59:11:
58| # on to splice them together.
59| if lib.isDerivation defaultValue then
| ^
60| augmentedValue
… while evaluating the attribute 'git-doc'
at pkgs/top-level/all-packages.nix:1159:3:
1158|
1159| git-doc =
| ^
1160| # doc attribnute is not present at least for pkgsLLVM
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: 'git-doc' can't be evaluated as 'gitFull' does no expose 'doc' attribute
Co-authored-by: Colin <accounts.github@uninsane.org>
Co-authored-by: Doron Behar <doron.behar@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
