bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39894: [Common Lisp] asdf-build-system/source should refer to depend


From: Pierre Neidhardt
Subject: bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store
Date: Thu, 07 May 2020 19:11:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

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/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]