diff options
| author | Alexander_Kabui <alexanderkabua@gmail.com> | 2026-10-07 07:35:37 +0300 |
|---|---|---|
| committer | Alexander_Kabui <alexanderkabua@gmail.com> | 2026-10-07 07:39:07 +0300 |
| commit | 2326f8275a592e266ec8838cf694998d13f4968a (patch) | |
| tree | a86ef6533fc600cf1cb86096b4f91bb5643a29fc /test/python/test_openapi.py | |
| parent | d563910a0fc7f61e2a77cd7cc43643e2fe493939 (diff) | |
| download | genenetwork4-2326f8275a592e266ec8838cf694998d13f4968a.tar.gz | |
guix.scm (vendor phase): fix the awk program quoting and name mapping.
Two defects in the checksum-writing awk program, both caught by the
guix build attempts and both re-validated against the real lock before
this commit:
1. The program was committed as raw single-quote text instead of a
double-quoted Scheme string: the quotes inside the program
terminated and re-opened the form, and guile read
sprintf("%c", 34) as a string followed by an unquote — the builder
died at evaluation ("unquote: expression not valid outside of
quasiquote"). A --dry-run does NOT catch this class of error (it
lowers the derivation but never evaluates the builder); the
validation that matters is running the exact decoded program
against the real lock.
2. Lock package names may contain underscores (cfg_aliases, cookie_store,
...) while guix import emits hyphenated origin file-names
(rust-cfg-aliases-0.2.2.tar.gz); the program now gsub(_ -> -).
Verified exhaustively: every one of the 287 checksum-bearing lock
entries maps to an existing vendor directory, and the decoded
program writes all 287 .cargo-checksum.json files with valid JSON
and byte-identical checksums.
Diffstat (limited to 'test/python/test_openapi.py')
0 files changed, 0 insertions, 0 deletions
