unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Hill <jackhill@jackhill.us>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: guix-devel@gnu.org
Subject: Re: Help me create a janet-build-system
Date: Sat, 15 May 2021 15:25:00 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.2105151515460.2109@marsh.hcoop.net> (raw)
In-Reply-To: <7ab06ee76495f5018af94d667fa606433e217766.camel@student.tugraz.at>

Leo,

Thanks for your reply

On Sat, 15 May 2021, Leo Prikler wrote:

> Your code imports (guix utils), but (guix utils) is not present within
> the module closure present at build time.
> Did you mean (guix build utils)?

I used cc-for-target and cxx-for-target from (guix utils). Where would I 
add (guix utils) so it is included on the build side?

>> More generally, I expect there are many ways I could improve the
>> build system. What are they?
> I know little about jpm, but in my opinion you ought to let the user
> customize the flags passed on to jpm at least in the build target --
> not so sure about check and install.  If janet-build-system allows some
> degree of customization, consider also letting the user override the
> test-target.

I think I should at least try to make the with-toolchain package 
transformation option work. Beyond that, I'm not sure how much 
customization jpm offers without editing project.janet. I'll take a look 
at some of the other build systems for language-specific build tools for 
ideas (I think a lot of them have a similar, minimal feature set). I also 
hope that once I get a working build system and gain some experience using 
it to create packages, some customization opportunities will present 
themselves.

Best,
Jack


  reply	other threads:[~2021-05-15 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15  5:07 Help me create a janet-build-system Jack Hill
2021-05-15  7:00 ` Leo Prikler
2021-05-15 19:25   ` Jack Hill [this message]
2021-05-15 19:55     ` Leo Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.2105151515460.2109@marsh.hcoop.net \
    --to=jackhill@jackhill.us \
    --cc=guix-devel@gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).