[Nix-dev] nix-shell NetworkManager

Cillian de Róiste cillian.deroiste at gmail.com
Mon Feb 17 11:38:57 CET 2014


Hi,

I don't know the answer to your question, but just in case you overlooked
it, your user needs to be a member of the networkmanager group to be able
to use NetworkManager.

Cheers,
Cillian


On Sun, Feb 16, 2014 at 8:08 PM, Sergey Mironov <grrwlf at gmail.com> wrote:

> 2014-02-16 22:44 GMT+04:00 Sergey Mironov <grrwlf at gmail.com>:
> > 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
>
> I think I need to clarify my previous letter: In order to hack
> NetworkManager, I start nix-shell and then call the pases directly,
> like
> $ patchPahse
> $ configurePhase
> $ buildPhase
> ...
>
> /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
> $ echo $NIX_CFLAGS_COMPILE
> -Ithis -Ithat
> -I/nix/store/k4bh0a5rffwa9xhxfzld1fvr0z628klz-dbus-glib-0.100.2/include
> ...
>
> Regards,
> Sergey
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140217/0a93f4a4/attachment.html 


More information about the nix-dev mailing list