Skip to content

Provide a more useful error message when a dynamic attr lookup fails - #256

Closed
shlevy wants to merge 1 commit into
NixOS:masterfrom
shlevy:fix-dynamic-exprselect-error
Closed

shlevy wants to merge 1 commit into
NixOS:masterfrom
shlevy:fix-dynamic-exprselect-error

Conversation

@shlevy

@shlevy shlevy commented May 15, 2014

Copy link
Copy Markdown
Member

No description provided.

@edolstra

Copy link
Copy Markdown
Member

Applied, thanks!

@edolstra edolstra closed this May 15, 2014
zolodev pushed a commit to zolodev/nix that referenced this pull request Jan 1, 2024
P-E-Meunier pushed a commit to P-E-Meunier/nix that referenced this pull request Feb 26, 2025
Delete `enum SourceType`, which is dead code
ConnorBaker added a commit to ConnorBaker/nix that referenced this pull request May 29, 2026
…OS#259, fixes ledger

Independent whole-branch audit (22 agents -> dedup -> per-finding
adversarial verify): 70 findings, 63 confirmed, 7 refuted.

Catalog corrections (counts/claims re-derived against master):
  - NixOS#65: recorded grep was malformed (anchored `builtins\."` returns 2,
    not 79); restored the unanchored form, noted the 87-name-anchored
    alternative is a different set (F014).
  - NixOS#18: B3's grep returns 24 lines / 23 hand-written, not 17; added the
    six omitted names (F016).
  - NixOS#169/NixOS#217/N33: friend count is 11 Expr* lines / 10 distinct, not
    "10 / 9" (F013).
  - NixOS#103/N6 + verified/05: RewritingSink no longer "tracks match
    positions"; matches is dead and HashModuloSink::finish's loop is
    inert since 3ebe134 (F019).
  - NixOS#138: eval.cc read-site is copyPathToStore, not the nonexistent
    "addToStore" (F006).
  - NixOS#218 + STATUS: placeholder inventory undercounted (6 -> 7-8); the
    wire-marker is the BuildResult compat StringMap, not a DrvOutput
    serialisation; nix-store.cc misfiled as a "legitimate constant"
    (F007-F011).
  - README U7b/U7c + N1: migratable cache count and per-site exclusion
    reasons (F017/F018).
  - verified/19: nix_get_external is a functional bug, not a "quirk";
    nix_store_path_hash missing-preamble outlier (F003/F052).
  - verified/17: tree glyphs live in libutil util.hh, not "libcmd
    headers" (F035).
  - NixOS#11-legacy NixOS#222/NixOS#231 + FOLLOWUPS: --max-freed mechanism and the
    --priority getArg mis-recommendation (F001/F002).

New candidates NixOS#241-NixOS#259 filed into their topical sections (per the
catalog's group-by-symptom principle): 03 (NixOS#244), 07 (NixOS#246), 08 (NixOS#243),
10 (NixOS#253,NixOS#255), 12 (NixOS#241,NixOS#242,NixOS#259), 13 (NixOS#248,NixOS#249,NixOS#251), 16
(NixOS#245,NixOS#247), 17 (NixOS#254,NixOS#256), 20 (NixOS#250,NixOS#252), 23 (NixOS#257,NixOS#258).

NixOS#122: re-verified the stackOverflowHandler symbol-mangle caveat is
correct as written (F062).

The audit is recorded as a STATUS.md "Recently completed" event (it
subsumes the per-finding report; no standalone report file is kept).
The corresponding code fixes are uncommitted on the cleanup worktrees.
Also converted the macOS /Users/cbaker2 paths in HANDOFF.md/STATUS.md to
the Linux /home/cbaker2 paths used on this machine.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants