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
parent
5a08660ecb
commit
74fb7f900e
|
@ -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))
|
||||||
|
|
Reference in New Issue