mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
derivations: Use 'define-immutable-record-type' as appropriate.
This is a followup to dc673fa113
.
* guix/derivations.scm (<derivation-output>, <derivation-input>): Use
'define-immutable-record-type'.
This commit is contained in:
parent
6c80641d54
commit
3d19b7fbc2
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ (define-immutable-record-type <derivation>
|
|||
(env-vars derivation-builder-environment-vars) ; list of name/value pairs
|
||||
(file-name derivation-file-name)) ; the .drv file name
|
||||
|
||||
(define-record-type <derivation-output>
|
||||
(define-immutable-record-type <derivation-output>
|
||||
(make-derivation-output path hash-algo hash recursive?)
|
||||
derivation-output?
|
||||
(path derivation-output-path) ; store path
|
||||
|
@ -144,7 +144,7 @@ (define-record-type <derivation-output>
|
|||
(hash derivation-output-hash) ; bytevector | #f
|
||||
(recursive? derivation-output-recursive?)) ; Boolean
|
||||
|
||||
(define-record-type <derivation-input>
|
||||
(define-immutable-record-type <derivation-input>
|
||||
(make-derivation-input path sub-derivations)
|
||||
derivation-input?
|
||||
(path derivation-input-path) ; store path
|
||||
|
|
Loading…
Reference in a new issue