all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Pierre De Jesus DIAZ via Guix-patches via <guix-patches@gnu.org>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 56536@debbugs.gnu.org
Subject: [bug#56536] [PATCH]: gnu: newt: Fix cross-compilationn
Date: Sat, 06 Aug 2022 16:54:14 +0000	[thread overview]
Message-ID: <Nb5Sm5NhnuG3SMQ5uEOLpGIgRScOisTQF2KSAK6pfv0MYX9xNDRwDbqnjgqtsIbvbnJIN2YTQ1sOjKSrp5skMOXb3r1EwyY48dxGZh-nRU8=@jeandudey.tech> (raw)
In-Reply-To: <87pmhdz5nt.fsf@gnu.org>

Hello,

> Why not moving python to the native-inputs instead?

Because `python-config' output differs for the host and the target I
believe.

Thanks,

—
Jean-Pierre De Jesus DIAZ


------- Original Message -------
On Saturday, August 6th, 2022 at 18:40, Mathieu Othacehe <othacehe@gnu.org> wrote:


> Hello,
>
> > + (add-before 'build 'add-python-config-to-path
> > + (lambda* (#:key target #:allow-other-keys)
> > + ;; When cross-compiling python-config is not present in $PATH.
> > + ;;
> > + ;; It is a shell script without dependencies on target binaries
> > + ;; so it can be run on the host to allow cross-compilation.
>
>

>
> Thanks,
>
> Mathieu




  reply	other threads:[~2022-08-06 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 12:08 [bug#56536] [PATCH]: gnu: newt: Fix cross-compilationn Jean Pierre De Jesus DIAZ via Guix-patches via
2022-08-06 16:40 ` Mathieu Othacehe
2022-08-06 16:54   ` Jean Pierre De Jesus DIAZ via Guix-patches via [this message]
2022-08-06 17:34     ` Mathieu Othacehe
2022-08-07  9:41       ` bug#56536: " Mathieu Othacehe

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

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

  git send-email \
    --in-reply-to='Nb5Sm5NhnuG3SMQ5uEOLpGIgRScOisTQF2KSAK6pfv0MYX9xNDRwDbqnjgqtsIbvbnJIN2YTQ1sOjKSrp5skMOXb3r1EwyY48dxGZh-nRU8=@jeandudey.tech' \
    --to=guix-patches@gnu.org \
    --cc=56536@debbugs.gnu.org \
    --cc=me@jeandudey.tech \
    --cc=othacehe@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.