[Nix-dev] nix-shell NetworkManager

Sergey Mironov grrwlf at gmail.com
Sun Feb 16 19:44:12 CET 2014


Hi! I tried debug a nasty NetworkManager "(32) insufficient
privileges" problem by building my own hacked version of the package.
I called nix-shell and tried to build the sources. Both patchPhase and
configurePhase run without problems, but buildPhase stoppes with an
error saying

/nix/store/k4bh0a5rffwa9xhxfzld1fvr0z628klz-dbus-glib-0.100.2/include/dbus-1.0/dbus/dbus-glib.h:28:30:
fatal error: dbus/dbus-shared.h: No such file or directory


That is strange because nix-shell set the NIX_CFLAGS_COMPILE variable
correctly (it contains
-I/nix/store/k4bh0a5rffwa9xhxfzld1fvr0z628klz-dbus-glib-0.100.2/include
-I/nix/store/mv8dsy1q29ph6hdk6c96f252ww89z27m-dbus-libs-1.6.14/include
among others)

What may go wrong? Who are in charge of reading the NIX_CFLAGS_COMPILE?

Regards,
Sergey


More information about the nix-dev mailing list