unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: GLib: GIO's tests fail
Date: Fri, 04 Jan 2013 22:11:05 -0500	[thread overview]
Message-ID: <87hamw2uk0.fsf@karetnikov.org> (raw)
In-Reply-To: <87zk0scxd9.fsf@gnu.org> ("Ludovic Courtès"'s message of "(unknown date)")

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

> You would need to add a phase to do:

>   (patch-shebang "the/faulty/file")

> That would change /usr/bin/env to /nix/store/xxx/bin/env.

The problem is that I haven't found any references to '/usr/bin/env' in
those files. I tried the following anyway, but it didn't work out.

  (arguments '(#:phases
               (alist-cons-before
                'build 'patch-/usr/bin/env
                (lambda _
                  (for-each patch-shebang
                            '("gio/tests/gdbus-test-codegen-generated.c"
                              "gio/tests/gdbus-test-codegen-generated.h")))
                %standard-phases)))

Nikita




[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-01-05  3:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31  1:12 GLib: GIO's tests fail Nikita Karetnikov
2013-01-01 23:11 ` Ludovic Courtès
2013-01-05  3:11   ` Nikita Karetnikov [this message]
2013-01-05 15:27     ` Ludovic Courtès
2013-01-07 18:47       ` Nikita Karetnikov
2013-01-07 21:01         ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87hamw2uk0.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=bug-guix@gnu.org \
    --cc=ludo@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).