* Guix and Coleslaw Home Recipe!
@ 2022-09-15 23:44 jgart
2022-09-16 11:31 ` Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-09-15 23:44 UTC (permalink / raw)
To: Guix Devel; +Cc: Guillaume Le Vaillant
jgart ponders to self:
Will this package build the `coleslaw` CLI command with our current asdf-build-system?
What's missing?
https://github.com/coleslaw-org/coleslaw
Here's my attempt but there's no executable in the store for `coleslaw`:
https://git.sr.ht/~whereiseveryone/guixrus/commit/9f8a48141c5e6c4bcdde21164db733c66d189724
Guillaume, what do you think if I add documentation or a tutorial
somewhere for how to deal with common lisp packages that require to build
an executable? Before I do that though, I'd like to first understand
fully what I'll be writing about ;()
any advice much appreciated,
jgart
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Guix and Coleslaw Home Recipe!
2022-09-15 23:44 Guix and Coleslaw Home Recipe! jgart
@ 2022-09-16 11:31 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2022-09-16 11:31 UTC (permalink / raw)
To: jgart; +Cc: Guix Devel
[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]
jgart <jgart@dismail.de> skribis:
> jgart ponders to self:
>
> Will this package build the `coleslaw` CLI command with our current asdf-build-system?
>
> What's missing?
>
> https://github.com/coleslaw-org/coleslaw
>
> Here's my attempt but there's no executable in the store for `coleslaw`:
>
> https://git.sr.ht/~whereiseveryone/guixrus/commit/9f8a48141c5e6c4bcdde21164db733c66d189724
By default, unless upstream put code in the ASDF system definition to
make a standalone binary automatically, asdf-build-system will only
compile the files of the library. To make a binary, you can add a phase
using the 'build-program' function, as in the stumpwm package for
example.
It might be better separate the library and the CLI program, for example
{sbcl,cl,ecl}-coleslaw packages for the libraries and a coleslaw package
for the CLI, or a single coleslaw package with several outputs ('out'
for the CLI and 'lib' for the library).
> Guillaume, what do you think if I add documentation or a tutorial
> somewhere for how to deal with common lisp packages that require to build
> an executable? Before I do that though, I'd like to first understand
> fully what I'll be writing about ;()
>
> any advice much appreciated,
>
> jgart
There is a little paragraph about the 'build-program' function in the
"Build Systems" section of the manual. You could improve it by adding
more details or examples.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-16 11:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-15 23:44 Guix and Coleslaw Home Recipe! jgart
2022-09-16 11:31 ` Guillaume Le Vaillant
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).