summary refs log tree commit diff
path: root/etc/snippets/tempel/scheme-mode
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-08-12 10:58:49 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-08-30 11:50:15 +0200
commit0928b82070d495a413a1df873cfc817b673cd4d1 (patch)
tree40a18f11726229c845293db91e9e76ecf02da160 /etc/snippets/tempel/scheme-mode
parentc4acaf412064568a546034871a9e0d3888aa7937 (diff)
downloadguix-0928b82070d495a413a1df873cfc817b673cd4d1.tar.gz
etc: Add tempel snippet for :phases.
* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ )
(replace\ ): New snippets.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'etc/snippets/tempel/scheme-mode')
-rw-r--r--etc/snippets/tempel/scheme-mode9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode
index 74157e098a..54cb8e40a9 100644
--- a/etc/snippets/tempel/scheme-mode
+++ b/etc/snippets/tempel/scheme-mode
@@ -78,3 +78,12 @@ scheme-mode
  "(bzr-reference"
  n> "(url \"" p "\")"
  n> "(revision \"" p "\"))")
+
+(:phases\ "#:phases (modify-phases %standard-phases"
+          n> p ")")
+
+(add-before\ "(add-before '" p " '" p
+             n > p ")")
+(add-after\ "(add-after '" p " '" p
+            n > p ")")
+(replace\ "(replace '" p " " p")")