import: cran-sxml->sexp: Use cran-uri in package expression.

* guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in
  the generated package expression.
master
Ricardo Wurmus 2015-09-17 17:02:42 +02:00
parent 5546114e73
commit a52b625152
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ representation of the package page."
(version ,version)
(source (origin
(method url-fetch)
(uri (string-append ,@(factorize-uri source-url version)))
(uri (cran-uri ,name version))
(sha256
(base32
,(bytevector->nix-base32-string (file-sha256 tarball))))))