[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLib: GIO's tests fail
From: |
Nikita Karetnikov |
Subject: |
Re: GLib: GIO's tests fail |
Date: |
Fri, 04 Jan 2013 22:11:05 -0500 |
> 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
pgpztI94vBrxE.pgp
Description: PGP signature