GNU bug report logs -
#39945
[PATCH 0/1] Introducing 'with-parameters' for gexp dynamic binding
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Fri, 6 Mar 2020 10:42:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 39945-done <at> debbugs.gnu.org (full text, mbox):
Hi Mathieu,
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
>> Thoughts?
>>
>> Besides, ‘with-parameters’ is the dual of what was discussed at
>> <https://issues.guix.gnu.org/issue/29296>.
>
> Super nice! Maybe you could add a test-case involving
> %current-target-system but otherwise this LGTM.
Done and pushed as cf2ac04f13d9266c7c8a2ebd2e85ef593231ac9d.
> Do you think we could use this to get around this issue we discussed
> there:
> https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00099.html.
It could be use to achieve the same result as the <native-qemu> package
you proposed:
#~(… #+(with-parameters ((%current-system %system)) qemu) …)
However, the issue I mentioned before with this approach remain:
[…] now the result of:
guix system build -s armhf-linux -d …
would be dependent on the actual system type. In other words, the
result would be different if you run it on armhf-linux, if you run it on
x86_64-linux, or if you run it on i686-linux. Not great.
Thanks for your feedback!
Ludo’.
This bug report was last modified 5 years and 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.