all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: Guix-devel@gnu.org
Subject: Re: [PATCH] gnu: base: Added macro for choosing glibc for target system
Date: Tue, 22 Apr 2014 13:58:42 +0200	[thread overview]
Message-ID: <877g6hwp71.fsf@gnu.org> (raw)
In-Reply-To: <CAFtzXzOOxuK+NEDWT4kmqZ1TpV+MB1-nn+VpNxqXQuKQwFJw4g@mail.gmail.com> (Manolis Ragkousis's message of "Mon, 21 Apr 2014 20:39:15 +0300")

Manolis Ragkousis <manolis837@gmail.com> skribis:

> I spent some time to find out why the glibc macro patch couldn't work
> and it seems it just had to be defined before other packages tried to
> inherit glibc in base.scm. It seems to work now.

Yes, indeed (sorry I didn’t catch it before!).

The patch looks good to me, but it doesn’t apply on ‘master’ since it
depends on bits that haven’t been committed yet.

I think we should start working on the integration of your work.  A good
candidate for a first patch would be the ‘glibc-hurd-headers’ package, I
think.

Minor details:

> From 1f35b5a3d93811dadac33dbce1ff74a704760a21 Mon Sep 17 00:00:00 2001
> From: phant0mas <manolis837@gmail.com>

Should be your real name (or not?)?

> Date: Mon, 21 Apr 2014 20:13:52 +0300
> Subject: [PATCH] gnu: base: Added macro for choosing glibc for target system
>
> * gnu/packages/base.scm (glibc/linux): Renamed glibc to glibc/linux
> * gnu/packages/base.scm (glibc-for-target): Choose which glibc to use
> * gnu/packages/base.scm (glibc): Added macro to choose glibc

No need to repeat the file name here (see the GNU Coding Standards or
the log for details.)

> +(define (glibc-for-target target)
> +  "Return the glibc for TARGET, glibc/linux for a linux host or
> +glibc/hurd for a hurd host"

Spelling: “Linux” and “Hurd”.

> +(define-syntax glibc
> +  (identifier-syntax (glibc-for-target (or (%current-target-system) (%current-system)))))

Insert a newline to remain below 80 columns.

Thanks!

Ludo’.

      reply	other threads:[~2014-04-22 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 17:39 [PATCH] gnu: base: Added macro for choosing glibc for target system Manolis Ragkousis
2014-04-22 11:58 ` Ludovic Courtès [this message]

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=877g6hwp71.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=Guix-devel@gnu.org \
    --cc=manolis837@gmail.com \
    /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.