summary refs log tree commit diff
path: root/gnu/packages/dhall.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/dhall.scm')
-rw-r--r--gnu/packages/dhall.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/dhall.scm b/gnu/packages/dhall.scm
index ce933da9a8..9e80abb08a 100644
--- a/gnu/packages/dhall.scm
+++ b/gnu/packages/dhall.scm
@@ -34,8 +34,7 @@
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://hackage.haskell.org/package/dhall/dhall-"
-                           version ".tar.gz"))
+       (uri (hackage-uri "dhall" version))
        (sha256
         (base32 "1by2d84fbckspczddl4npfsf89q6nprmbg0i5g8yr1psp0fpl4ab"))))
     (build-system haskell-build-system)