me
/
guix
Archived
1
0
Fork 0

gnu: cl-cxml: Remove ASD fix since our build system supports component-less asd.

* gnu/packages/lisp-xyz.scm (cl-cxml)[arguments]: Remove 'remove-component phase.
master
Pierre Neidhardt 2020-06-18 16:43:18 +02:00
parent 5a08660ecb
commit 74fb7f900e
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 1 additions and 16 deletions

View File

@ -5719,22 +5719,7 @@ offered, one SAX-like, the other similar to StAX.")
(install-file "catalog.dtd" (install-file "catalog.dtd"
(string-append (string-append
(assoc-ref outputs "out") (assoc-ref outputs "out")
"/lib/" (%lisp-type))))) "/lib/" (%lisp-type))))))))))
(add-after 'create-asd 'remove-component
;; XXX: The original .asd has no components, but our build system
;; creates an entry nonetheless. We need to remove it for the
;; generated .asd to load properly. See trivia.trivial for a
;; similar problem.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(asd (string-append out "/lib/sbcl/cxml.asd")))
(substitute* asd
((" :components
")
""))
(substitute* asd
((" *\\(\\(:compiled-file \"cxml--system\"\\)\\)")
""))))))))))
(define-public cl-cxml (define-public cl-cxml
(sbcl-package->cl-source-package sbcl-cxml)) (sbcl-package->cl-source-package sbcl-cxml))