bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store

2020-05-07 Thread Pierre Neidhardt
I made a mistaken in the original post:  the cl-* (source) packages do
propagate their input.  So source packages _do_ work as expected.

What we'd like to do improve here is _not_ propagate the inputs and
instead refer directly to them in the store.

I tried generating and .asd which would do the following

--8<---cut here---start->8---
(asdf:load-asd ORIGINAL-ASD)

(push INPUT-PATH-TO-SOURCE asdf:*central-registry*)
; more push of all inputs here.
--8<---cut here---end--->8---

The problem is that we can't name the .asd like the original or ASDF
will complain about circular dependencies.

The only way I can think about is to add the "push" lines to the
original .asd itself (at the end should be fine).  Not sure how I feel
about modifying the original .asd, seems brittle.

There may be a better way.

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature


bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store

2020-03-04 Thread Pierre Neidhardt
The sbcl build system generates a new .asd that refers to all the
required input explicitly in the store.

The asdf-build-system/source does not do that.  Because of this,
installing the source packages in a profile does not work as expected:
loading the source in a Common Lisp REPL will fail, complaining about
missing dependencies.

I suggest we use an .asd generation similar to that of the SBCL build system.

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature