diff options
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 9003381e2c..8a98c9f902 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -8743,8 +8743,7 @@ interface for MySQL, PostgreSQL and SQLite.") ("uffi" ,sbcl-uffi) ("zlib" ,zlib))) (arguments - `(#:asd-files '("clsql-cffi.asd" - "clsql.asd" + `(#:asd-files '("clsql.asd" "clsql-uffi.asd" "clsql-sqlite3.asd" "clsql-postgresql.asd" @@ -8752,8 +8751,7 @@ interface for MySQL, PostgreSQL and SQLite.") "clsql-mysql.asd") #:asd-systems '("clsql" "clsql-sqlite3" - ;; TODO: Find why postgresql-sql.lisp fails to compile. - ;;"clsql-postgresql" + "clsql-postgresql" "clsql-postgresql-socket3" "clsql-mysql") #:phases @@ -8762,6 +8760,15 @@ interface for MySQL, PostgreSQL and SQLite.") (lambda _ (make-file-writable "doc/html.tar.gz") #t)) + (add-after 'unpack 'fix-build + (lambda _ + (substitute* "clsql-uffi.asd" + (("\\(:version uffi \"2.0\"\\)") + "uffi")) + (substitute* "db-postgresql/postgresql-api.lisp" + (("\\(data :cstring\\)") + "(data :string)")) + #t)) (add-after 'unpack 'fix-paths (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "db-sqlite3/sqlite3-loader.lisp" |