lisp-modules: Fetch systems over HTTPS
quicklisp does not support TLS (https://github.com/quicklisp/quicklisp-client/issues/167) and therefore lists release with http in release.txt. Since nixpkgs uses `fetchzip` we can change the source to be fetched over HTTPS.
This commit is contained in:
@@ -112,13 +112,17 @@
|
||||
|
||||
(sqlite:with-transaction db
|
||||
(dolist (line releases-lines)
|
||||
(destructuring-bind (project url size md5 sha1 prefix &rest asds)
|
||||
(destructuring-bind (project http-url size md5 sha1 prefix &rest asds)
|
||||
(str:words line)
|
||||
(sql-query
|
||||
"insert or ignore into quicklisp_release values(?,?,?,?,?,?,?)"
|
||||
project url size md5 sha1 prefix (json:stringify (coerce
|
||||
asds
|
||||
'vector))))))
|
||||
;; quicklisp does not support TLS
|
||||
;; https://github.com/quicklisp/quicklisp-client/issues/167
|
||||
;; but since we fetch systems using nix we can adapt the url.
|
||||
(let ((url (str:replace-first "http://" "https://" http-url)))
|
||||
(sql-query
|
||||
"insert or ignore into quicklisp_release values(?,?,?,?,?,?,?)"
|
||||
project url size md5 sha1 prefix (json:stringify (coerce
|
||||
asds
|
||||
'vector)))))))
|
||||
|
||||
;; Weed out circular dependencies from the package graph.
|
||||
(sqlite:with-transaction db
|
||||
|
||||
+4704
-4704
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user