Cyril Roelandt <[email protected]> skribis: > On Tue, Oct 15, 2013 at 10:12:25PM +0200, Ludovic Courtès wrote: >> Cyril Roelandt <[email protected]> skribis: >> >> > These two patches add libpeas. The first one enables the introspection >> > feature >> > for a few GNOME packages; the second adds libpeas. >> >> Nice! >> >> > + ;; The scanner will use the CC environment variable. >> > + (setenv "CC" "gcc") >> >> Before we copy/paste these two lines in a dozen packages ;-), what about >> patching the damn scanner directly in gobject-introspection? > > Indeed, this makes sense :) > >> >> IIUC it’d be just about patching ‘giscanner/sourcescanner.py’ to default >> to /nix/store/.../bin/gcc instead of cc. >> >> WDYT? > > I patched it so that it first tries to use $CC, then 'cc', then > /nix/store/.../bin/gcc. This way, if the user set $CC or has a 'cc' symlink, > there will be no surprises.
Even better. Thanks, Ludo’.
