Switch using set-current-system to parameterize

As this is neater.
This commit is contained in:
Christopher Baines 2020-02-11 08:55:34 +00:00
parent 876bae182d
commit 406aa5e160

View file

@ -737,7 +737,7 @@ WHERE job_id = $1"
"guix-data-service: computing the derivation-file-name for ~A\n" "guix-data-service: computing the derivation-file-name for ~A\n"
system) system)
((set-current-system system) store) (parameterize ((%current-system system))
(let ((manifest (let ((manifest
(catch #t (catch #t
(lambda () (lambda ()
@ -776,7 +776,7 @@ WHERE job_id = $1"
(simple-format (simple-format
(current-error-port) (current-error-port)
"error ~A: ~A\n" key args) "error ~A: ~A\n" key args)
#f))))))) #f))))))))
(list ,@systems))))) (list ,@systems)))))
(with-store store (with-store store