/gnu/machine/

ko.org/guix/atom/tests/records.scm?h=koszko' type='application/atom+xml'/>
aboutsummaryrefslogtreecommitdiff
path: root/tests/records.scm
161dba4c8930d3a500a72ccaaaf50df73f466'>records: 'match-record' checks fields at macro-expansion time....This allows 'match-record' to be more efficient (field offsets are computed at compilation time) and to report unknown fields at macro-expansion time. * guix/records.scm (map-fields): New macro. (define-record-type*)[rtd-identifier]: New procedure. Define TYPE as a macro and use a separate identifier for the RTD. (lookup-field, match-record-inner): New macros. (match-record): Rewrite in terms of 'match-error-inner'. * tests/records.scm ("match-record, simple") ("match-record, unknown field"): New tests. * gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file' local variable to 'main-log-file'. * gnu/services/getmail.scm (serialize-getmail-configuration-file): Move after <getmail-configuration-file> definition.
AgeCommit message (Expand)Author
2023-06-042023-08-13gnu: mc: Shrink closure....* gnu/packages/mc.scm (mc)[arguments]: Add "--disable-configure-args" to the #:configure-flags. Tobias Geerinckx-Rice
2023-08-13gnu: mc: Fix cross-(mis)compilation & substitutions....* gnu/packages/mc.scm (mc)[arguments]: Set PERL_FOR_BUILD. Rename 'patch-FHS-file-names phase to 'patch-file-names. Properly distinguish build-time from run-time commands. Reorganise to catch more occurrences. [inputs]: Add bash-minimal and perl. Tobias Geerinckx-Rice
2023-08-13gnu: mc: Remove obsolete substitution....* gnu/packages/mc.scm (mc)[arguments]: Don't SUBSTITUTE* "/bin/cat". It's been fixed upstream. Tobias Geerinckx-Rice
2023-08-13gnu: mc: Use G-expressions....* gnu/packages/mc.scm (mc)[arguments]: Rewrite as G-expressions. Tobias Geerinckx-Rice
2023-08-13gnu: mc: Update to 4.8.30....* gnu/packages/mc.scm (mc): Update to 4.8.30. Tobias Geerinckx-Rice
Ludovic Courtès
2022-07-01tests: Add sanitizer test....* tests/records.scm ("define-record-type* & sanitize without default value"): New test. Ludovic Courtès