Subject: Re: [bug#45189]
From: Guillaume Le Vaillant <[email-masked]>
To: Sharlatan Hellseher <[email-masked]>
Cc: [email-masked]
Date: Sun, 13 Dec 2020 10:10:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Sharlatan Hellseher <[email-masked]> skribis:

> Hi, Guillaume
>
> Thanks you for your point about multiple systems within one source repository.
>
> If I include them with `#:asdf-systems` how I would refer to them in
> `(inputs...)` part of the package which has it as a dependency?
>
> Please check one more patch from the list for *command-line-arguments*

command-line-arguments pushed as f42e54dfaaece18a5065ddd328750d8b316605f3.
Thanks.

When you have a package-1 containing several systems (declared with
'#:asd-systems'), and a package-2 depending on at least one of the
systems in package-1, just put package-1 as input in the definition of
package-2 and asdf-build-system will find what it needs to compile
package-2:

(define-public sbcl-package-2
  (package
    ...
    (inputs
     `(("package-1" ,sbcl-package-1)
       ...))
    ...))