diff options
author | Arun Isaac | 2022-02-28 14:10:56 +0530 |
---|---|---|
committer | Arun Isaac | 2022-02-28 18:08:53 +0530 |
commit | a744674532b3af1f0d2e212e1579621db08df585 (patch) | |
tree | 90abddfc9af5ac2177e1a086dbc040b62731ac02 /forge | |
parent | 927e9c97c932eefb3539f7741f6c927c01a4a202 (diff) | |
download | guix-forge-a744674532b3af1f0d2e212e1579621db08df585.tar.gz guix-forge-a744674532b3af1f0d2e212e1579621db08df585.tar.lz guix-forge-a744674532b3af1f0d2e212e1579621db08df585.zip |
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.
Diffstat (limited to 'forge')
-rw-r--r-- | forge/forge.scm | 6 |
1 files 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> 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 |