* bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store
@ 2020-03-04 8:12 Pierre Neidhardt
2020-05-07 17:11 ` Pierre Neidhardt
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Neidhardt @ 2020-03-04 8:12 UTC (permalink / raw)
To: 39894
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
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/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store
2020-03-04 8:12 bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store Pierre Neidhardt
@ 2020-05-07 17:11 ` Pierre Neidhardt
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Neidhardt @ 2020-05-07 17:11 UTC (permalink / raw)
To: 39894; +Cc: hu.moonstone
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-07 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-04 8:12 bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store Pierre Neidhardt
2020-05-07 17:11 ` Pierre Neidhardt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).