summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-01-19 10:59:20 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-01-19 11:00:16 +0200
commit6f10e74fc7dbda67d049bd7e700d48470f849cf3 (patch)
tree628041d2025de622340c37fe8ae1380398c45b57
parent4a24c48695cf449a7a942dbe26307071c866feac (diff)
downloadguix-6f10e74fc7dbda67d049bd7e700d48470f849cf3.tar.gz
gnu: wine: Parameterize version string in uri.
* gnu/packages/wine.scm (wine)[source]: Replace hard-coded version
string with parameterized version.
-rw-r--r--gnu/packages/wine.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index d0159d693d..754389979a 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -64,7 +64,8 @@
     (version "3.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://dl.winehq.org/wine/source/3.0"
+              (uri (string-append "https://dl.winehq.org/wine/source/"
+                                  (version-major+minor version)
                                   "/wine-" version ".tar.xz"))
               (sha256
                (base32