summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-22 11:26:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-22 13:49:06 +0300
commit3623696db15f031ea4d9894a96ea2579e4211218 (patch)
treee4aae9b3cbc09e15e251d8ec94a4b25033990ea6
parent27f2b79db360cbafc5c0e7846580494ae3b91f00 (diff)
downloadguix-3623696db15f031ea4d9894a96ea2579e4211218.tar.gz
gnu: ocaml-uri: Use a source file-name.
* gnu/packages/ocaml.scm (ocaml-uri)[source]: Add a file-name field.
-rw-r--r--gnu/packages/ocaml.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 21d16a46a1..dd30f4cc97 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3453,6 +3453,7 @@ JSON.")
        (uri (git-reference
              (url home-page)
              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
          "10bf28my1yhj8a2d7bkgbna9j20wq0ghp92k926y29bmjj2qh0l7"))))