guix-patches
[Top][All Lists]
Advanced

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

[bug#56604] [PATCH 0/8] Update Clojure to 1.11.1.


From: Maxime Devos
Subject: [bug#56604] [PATCH 0/8] Update Clojure to 1.11.1.
Date: Thu, 1 Sep 2022 12:03:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0


On 01-09-2022 11:09, Ludovic Courtès wrote:
I guess this is expected, since a change in a build system might affect
all packages being built with it. But I was wondering if there is a way
to force only building the packages specified on the command line. Does
such a thing exists?
No, it doesn’t exist, because that would be building something
different.  In this case, building everything that depends on
‘ant-build-system.scm’ is unavoidable.

I was wondering what is the most efficient way to quickly iterate on
changes to a build system, without recompiling the whole world for that
build system. How would you do that?
There’s no ideal solution as you’ll have to recompile the world anyway.

It is possible, actually, to test it for a single package first (although without interaction with the command line). In the package you would like to test things with, use '=>' in #:imported-modules:

((this module)
 ((that module) => (local-file "customised-that-module.scm")))

and keep the original that/module.scm unmodified.

At least, something like that is done in 'build-program' in build-aux/build-self.scm -- I haven't tried it out for something like this myself.

Greetings,
Maxime

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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