[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#38612] Pass system and target arguments to gexp->file.
From: |
Ludovic Courtès |
Subject: |
[bug#38612] Pass system and target arguments to gexp->file. |
Date: |
Sun, 29 Dec 2019 23:36:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi!
Mathieu Othacehe <address@hidden> skribis:
> Then, here's a patch that set the default target to 'current in
> lower-object, gexp->file and gexp->script. Then, (current-target-system)
> is used at bind time if target is 'current (same way as gexp->derivation
> and lower-gexp).
>
> An additionnal patch is needed because lower-object is called without a
> default target in lower-gexp, when lowering extensions.
>
> WDYT?
>
> Mathieu
>
> From f5d773dc0a627ba6059f1025189d33a9e0d083b5 Mon Sep 17 00:00:00 2001
> From: Mathieu Othacehe <address@hidden>
> Date: Sat, 28 Dec 2019 21:29:06 +0100
> Subject: [PATCH 1/2] gexp: Default to current target.
>
> * guix/gexp.scm (lower-object): Set target argument to 'current by default and
> look for the current target system at bind time if needed,
> (gexp->file): ditto,
> (gexp->script): ditto.
Uh, it’s “the right thing” but it’s getting ugly. :-/
If we take a step back, what’s the minimal change that would solve the
problem you’re looking at?
Apologies for the back-and-forth, it’s a tricky area!
Thanks,
Ludo’.
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/14
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/15
- [bug#38612] Pass system and target arguments to gexp->file., Ludovic Courtès, 2019/12/20
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/24
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/25
- [bug#38612] Pass system and target arguments to gexp->file., Ludovic Courtès, 2019/12/26
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/26
- [bug#38612] Pass system and target arguments to gexp->file., Ludovic Courtès, 2019/12/27
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/29
- [bug#38612] Pass system and target arguments to gexp->file.,
Ludovic Courtès <=
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/30
- [bug#38612] Pass system and target arguments to gexp->file., Ludovic Courtès, 2019/12/26
- [bug#38612] Pass system and target arguments to gexp->file., Mathieu Othacehe, 2019/12/26
[bug#38612] Pass system and target arguments to gexp->file., Ludovic Courtès, 2019/12/20