From 6c622a67051c22eeefe37eedb17d427fbb70c99b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 12 Jan 2024 11:36:28 +0000 Subject: forge: Deprecate derivation-job-gexp. * guix/forge/forge.scm: Import (guix deprecation). (derivation-job-gexp): Deprecate with guix-channel-job-gexp. --- guix/forge/forge.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guix/forge/forge.scm b/guix/forge/forge.scm index 1871a12..624fa31 100644 --- a/guix/forge/forge.scm +++ b/guix/forge/forge.scm @@ -30,6 +30,7 @@ #:use-module (gnu services) #:use-module (gnu services mcron) #:use-module (guix channels) + #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module (guix modules) #:use-module (guix packages) @@ -193,8 +194,9 @@ (('forge _ ...) #t) (name (guix-module-name? name)))) -(define* (derivation-job-gexp project job gexp-producer - #:key (guix-daemon-uri (%daemon-socket-uri)) deep-clone?) +(define-deprecated (derivation-job-gexp project job gexp-producer + #:key (guix-daemon-uri (%daemon-socket-uri)) deep-clone?) + guix-channel-job-gexp "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