From 257cf3e7dbc884073a6b9180e118280da9af70f8 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 1 Sep 2020 13:50:26 +0200 Subject: [PATCH] gnu: Add ecl-cl-postgres. * gnu/packages/lisp-xyz.scm (ecl-cl-postgres): New variable. --- gnu/packages/lisp-xyz.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 103f0ade73..cfac25ec6c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10916,6 +10916,19 @@ (define-public sbcl-cl-postgres (define-public cl-postgres (sbcl-package->cl-source-package sbcl-cl-postgres)) +(define-public ecl-cl-postgres + (package + (inherit (sbcl-package->ecl-package sbcl-cl-postgres)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-ecl + (lambda _ + (substitute* "cl-postgres.asd" + (("\\) \"usocket\"") " :ecl) \"usocket\"")) + #t))) + #:tests? #f)))) + (define-public sbcl-simple-date-postgres-glue (package (inherit sbcl-simple-date)