aboutsummaryrefslogtreecommitdiff
path: root/etc/snippets/scheme-mode
diff options
context:
space:
mode:
Diffstat (limited to 'etc/snippets/scheme-mode')
-rw-r--r--etc/snippets/scheme-mode/guix-origin4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/snippets/scheme-mode/guix-origin b/etc/snippets/scheme-mode/guix-origin
index 68d47135db..1a068f8859 100644
--- a/etc/snippets/scheme-mode/guix-origin
+++ b/etc/snippets/scheme-mode/guix-origin
@@ -15,7 +15,9 @@
((equal yas-text "hg-fetch") "hg-reference...")
((equal yas-text "cvs-fetch") "cvs-reference...")
(t "(string-append \\"https://\\" version \\".tar.gz\\")"))}$0)
- ${1:$(cond ((member yas-text '("git-fetch" "svn-fetch" "hg-fetch" "cvs-fetch"))
+ ${1:$(cond ((equal yas-text "git-fetch")
+ "(file-name (git-file-name name version))")
+ ((member yas-text '("svn-fetch" "hg-fetch" "cvs-fetch"))
"(file-name (string-append name \\"-\\" version \\"-checkout\\"))")
(t ""))}
(sha256
pan>Bruno Victal 2023-03-27services: ntpd: Add 'configuration' action....Ludovic Courtès 2023-03-27services: network-manager: Add 'configuration' action....Ludovic Courtès 2023-03-23services: network-manager: Set LINUX_MODULE_DIRECTORY environment variable....Maxim Cournoyer 2023-03-20services: network-manager: Add missing shadowing of 'iwd?' field....Andrew Tropin 2023-03-10services: connman: Set service canonical-name to connman....Bruno Victal 2023-03-10services: network-manager: Set service canonical-name to NetworkManager....Bruno Victal 2023-03-10services: network-manager: Await for NetworkManager to finish starting up....Bruno Victal 2023-03-10services: connman: Deprecate 'iwd?' field....Bruno Victal 2023-03-10services: connman: Add 'shepherd-requirement' field....Bruno Victal 2023-03-10services: connman: Use match-record and export accessors....Bruno Victal 2023-03-10services: network-manager: Deprecate 'iwd?' field....Bruno Victal 2023-03-10services: network-manager: Add 'shepherd-requirement' field....Bruno Victal 2023-02-09services: Add block-facebook-hosts-service-type....Bruno Victal 2023-01-16services: connman: Add iwd backend support....Declan Tsien