diff options
author | Arun Isaac | 2024-01-12 11:36:28 +0000 |
---|---|---|
committer | Arun Isaac | 2024-01-12 11:36:28 +0000 |
commit | 6c622a67051c22eeefe37eedb17d427fbb70c99b (patch) | |
tree | 142e40cc46362f2c13fd1432d92fed7ee8d5e455 /guix/forge | |
parent | 7fbb3af04da9f4dea98d93b266a164162e6af141 (diff) | |
download | guix-forge-6c622a67051c22eeefe37eedb17d427fbb70c99b.tar.gz guix-forge-6c622a67051c22eeefe37eedb17d427fbb70c99b.tar.lz guix-forge-6c622a67051c22eeefe37eedb17d427fbb70c99b.zip |
forge: Deprecate derivation-job-gexp.
* guix/forge/forge.scm: Import (guix deprecation).
(derivation-job-gexp): Deprecate with guix-channel-job-gexp.
Diffstat (limited to 'guix/forge')
-rw-r--r-- | guix/forge/forge.scm | 6 |
1 files 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 |