aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-hydra.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/guix-hydra.el')
-rw-r--r--emacs/guix-hydra.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/guix-hydra.el b/emacs/guix-hydra.el
index 429483946b..9f876e7eea 100644
--- a/emacs/guix-hydra.el
+++ b/emacs/guix-hydra.el
@@ -36,6 +36,10 @@
(concat ".*\\." (regexp-opt guix-help-system-types) "\\'")
"Regexp matching a full name of Hydra job (including system).")
+(defun guix-hydra-job-name-specification (name version)
+ "Return Hydra's job name specification by NAME and VERSION."
+ (concat name "-" version))
+
(defun guix-hydra-message (entries search-type &rest _)
"Display a message after showing Hydra ENTRIES."
;; XXX Add more messages maybe.