From 3d19b7fbc2f9394ad7d957f1408fef9fc0589ce6 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 12 Dec 2017 15:20:47 +0100 Subject: derivations: Use 'define-immutable-record-type' as appropriate. This is a followup to dc673fa1131fb5d1e5ca29acb4a693cfb906986f. * guix/derivations.scm (, ): Use 'define-immutable-record-type'. --- guix/derivations.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guix/derivations.scm') diff --git a/guix/derivations.scm b/guix/derivations.scm index 07803ca94f..b95849727b 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -136,7 +136,7 @@ (env-vars derivation-builder-environment-vars) ; list of name/value pairs (file-name derivation-file-name)) ; the .drv file name -(define-record-type +(define-immutable-record-type (make-derivation-output path hash-algo hash recursive?) derivation-output? (path derivation-output-path) ; store path @@ -144,7 +144,7 @@ (hash derivation-output-hash) ; bytevector | #f (recursive? derivation-output-recursive?)) ; Boolean -(define-record-type +(define-immutable-record-type (make-derivation-input path sub-derivations) derivation-input? (path derivation-input-path) ; store path -- cgit v1.2.3