summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-06 09:38:54 -0400
committerMark H Weaver <mhw@netris.org>2015-04-06 09:47:40 -0400
commit07d4d9b7513be7c5ec35ba88cb56d8f0ff2f6908 (patch)
tree3bbc6de446553e01abd5552c4a2d0ac7293dc06e
parent7e84e1994aee1bd1a1238295b13126270e2c548d (diff)
downloadguix-07d4d9b7513be7c5ec35ba88cb56d8f0ff2f6908.tar.gz
gnu: icecat: Fix source URI.
* gnu/packages/gnuzilla.scm (icecat)[source]: Fix source URI computation.
-rw-r--r--gnu/packages/gnuzilla.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index e422d0a9f6..fc2b41d38b 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -20,6 +20,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages gnuzilla)
+  #:use-module ((srfi srfi-1) #:hide (zip))
   #:use-module (gnu packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -224,7 +225,8 @@ standards.")
      (origin
       (method url-fetch)
       (uri (string-append "mirror://gnu/gnuzilla/"
-                          version "/" name "-" version ".tar.bz2"))
+                          (first (string-split version #\-)) "/"
+                          name "-" version ".tar.bz2"))
       (sha256
        (base32
         "1a4l23msg4cpc4yp59q2z6xv63r6advlbnjy65v4djv6yhgnqf1i"))))