[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting started with the texlive importer
From: |
Paul Garlick |
Subject: |
Re: getting started with the texlive importer |
Date: |
Wed, 09 Sep 2020 12:53:11 +0100 |
Hi Guix,
I have been able to run the texlive importer after making some changes
to guix/import/texlive.scm:
@@ -148,20 +148,22 @@ expression describing it."
((lst ...) (map string->license lst))))
(home-page (string-append "http://www.ctan.org/pkg/" id))
(ref (texlive-ref component id))
- (checkout (download-svn-to-store store ref)))
+ ;; (checkout (download-svn-to-store store ref))
+ )
`(package
(name ,(guix-name component id))
(version ,version)
(source (origin
(method svn-fetch)
(uri (texlive-ref ,component ,id))
- (sha256
- (base32
- ,(bytevector->nix-base32-string
- (let-values (((port get-hash) (open-sha256-
port)))
- (write-file checkout port)
- (force-output port)
- (get-hash)))))))
+ ;; (sha256
+ ;; (base32
+ ;; ,(bytevector->nix-base32-string
+ ;; (let-values (((port get-hash) (open-sha256-
port)))
+ ;; (write-file checkout port)
+ ;; (force-output port)
+ ;; (get-hash)))))
+ ))
(build-system texlive-build-system)
(arguments ,`(,'quote (#:tex-directory ,(string-join (list
component id) "/"))))
(home-page ,home-page)
This successfully produces a definition, albeit without the hash field.
So it seems that the procedure 'download-svn-to-store ' is the source
of the original error. Any ideas on how to fix?
Paul.