aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorArun Isaac2024-01-12 11:36:28 +0000
committerArun Isaac2024-01-12 11:36:28 +0000
commit6c622a67051c22eeefe37eedb17d427fbb70c99b (patch)
tree142e40cc46362f2c13fd1432d92fed7ee8d5e455 /guix
parent7fbb3af04da9f4dea98d93b266a164162e6af141 (diff)
downloadguix-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')
-rw-r--r--guix/forge/forge.scm6
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