guix-patches
[Top][All Lists]
Advanced

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

[bug#38612] Pass system and target arguments to gexp->file.


From: Mathieu Othacehe
Subject: [bug#38612] Pass system and target arguments to gexp->file.
Date: Thu, 26 Dec 2019 19:54:45 +0100
User-agent: mu4e 1.2.0; emacs 27.0.50

Hey,

> In general, in monadic code, we should refer to (current-system) and
> (current-target-system), not to the SRFI-39 parameters.

Ok!

> By default, ‘gexp->file’ now uses the current system and target, so this
> change shouldn’t be necessary if you just want to use those.  Am I
> missing something?

Well turns out that gexp->file takes #f as default target (as
gexp->script and lower-object).

Using %current-target-system as default target argument (as gexp->sexp)
makes those two patches useless.

Would you have any objection to use %current-target-system as default
target argument in gexp->file and lower-object?

Thanks,

Mathieu





reply via email to

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