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.
This commit is contained in:
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) (version ,version)
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append ,@(factorize-uri source-url version))) (uri (cran-uri ,name version))
(sha256 (sha256
(base32 (base32
,(bytevector->nix-base32-string (file-sha256 tarball)))))) ,(bytevector->nix-base32-string (file-sha256 tarball))))))