From a744674532b3af1f0d2e212e1579621db08df585 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 28 Feb 2022 14:10:56 +0530 Subject: forge: Rename gexp-producer->derivation-output to derivation-job-gexp. derivation-job-gexp is less verbose. Besides, this function accepts forge projects and forge laminar jobs. So, there is no point pretending that this is a generic gexp function. * forge/forge.scm (gexp-producer->derivation-output): Rename to derivation-job-gexp. --- forge/forge.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forge/forge.scm b/forge/forge.scm index ac89b80..73eeb67 100644 --- a/forge/forge.scm +++ b/forge/forge.scm @@ -50,7 +50,7 @@ forge-project-website-directory forge-project-ci-jobs forge-project-ci-jobs-trigger - gexp-producer->derivation-output)) + derivation-job-gexp)) (define-record-type* forge-project make-forge-project @@ -156,8 +156,8 @@ (('forge _ ...) #t) (name (guix-module-name? name)))) -(define* (gexp-producer->derivation-output project job gexp-producer - #:key (guix-daemon-uri (%daemon-socket-uri))) +(define* (derivation-job-gexp project job gexp-producer + #:key (guix-daemon-uri (%daemon-socket-uri))) "Return a G-expression that builds another G-expression as a derivation and returns its output path. GEXP-PRODUCER is a G-expression that expands to a lambda function. The lambda function -- cgit v1.2.3