Hi,

Roelof Wobben <[email protected]> writes:

> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. 
> -DSYSGCONFDIR=\"/nix/store/xgb8hbrx41mv3s1fw43242cmm94fli3l-GConf-2.28.1/etc/gconf\"
>      -g -O2 -Wall -c gconf-defaults.c
> gconf-defaults.c:34:18: fatal error: glib.h: No such file or directory

I would try something like:

  preConfigure = ''
    export CPPFLAGS="-I${glib}/include"
  '';

$CPPFLAGS is honored both by ‘configure’ and by Automake-generated
makefiles (unless the package authors really did nasty things to
disallow that.)

Thanks,
Ludo’.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to