From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: GLib: GIO's tests fail Date: Fri, 04 Jan 2013 22:11:05 -0500 Message-ID: <87hamw2uk0.fsf@karetnikov.org> References: <87mwwvm3cp.fsf@karetnikov.org> <87zk0scxd9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrKA5-0006Xj-VK for bug-guix@gnu.org; Fri, 04 Jan 2013 22:11:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrKA3-00043O-Lu for bug-guix@gnu.org; Fri, 04 Jan 2013 22:11:05 -0500 In-Reply-To: <87zk0scxd9.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --=-=-= > 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJQ55nUAAoJEM+IQzI9IQ38E88P/1aNm3ca9CYDFi+lzxlazwpH o7NwHHcfKtclgi+G3qFrbpivZJQxZ/bpQgr3dYniOyaV9hAYjw2oOSSBk19nfgv5 BLPJ/p9fodAqDHwnEwE0KwfEHH73rGoI3gdqaER89IsGkcBg6p6pUYtoWtlLl5Bv Reg3yUtSN7xaUH4V1J/1dMGKHqChJ92kClDmo8Obt++2iVcJFKkgBBhAvxSPnVCV Rf/sWXRCBVllolXvanByk3WovvYmlPyIfVJ6S26xJRo/yiob8uCp27Ek74wRMvH1 N5PCDFcgmHZCqN2ZksVp8gu3Kip31JcE0gCgK7v8XKVNO8cDy5vxRW8dkcbSZksY Jg4VSP04jbvw3e/CadPMiVGHS96FoEwSq360ENiD+9xg4/jd6FROxjn05TFaev/n nymntl85Vx8t1/OUri1yhKZRT+/9TO9QnFNN0poNbVC9fQpLCcDh36FSMOz4R0eB WWuAIZafY054OH8PplGtvJcJXB1zSCQ6qvzWYNVCgSUhh/tVLrCz5SWS81wX4kIt 4iZOEr5O/iyDYY1dr2dndDEfzNNCqnxBJ3yAmc8twTNfIWP2vbJFemm0nkk/I5hE uXLMKFFSYtTim6tXLMhlCqnZVMCAHGYNJJANzngLrdsOd3G2rMeLz4WBHs6VbLpg RkJ4NbMJy/8lNppdkZUA =wSzK -----END PGP SIGNATURE----- --=-=-=--