Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Sergey Mironov
Sorry, irc is not accessible for me at the moment.. id says [grwlf@greyblade ~ ]$ id uid=1000(grwlf) gid=100(users) группы=100(users),1(wheel),57(networkmanager),499(vboxusers) Regards, Sergey 2014-02-17 16:42 GMT+04:00 Domen Kožar : > what's the output of: $ id > > PS: would be easier to debug

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Marc Weber
Excerpts from Sergey Mironov's message of Sun Feb 16 19:08:40 + 2014: > > What may go wrong? Who are in charge of reading the NIX_CFLAGS_COMPILE? gcc is wrapped (but eg cpp is not [1], because usually its called by gcc). Some build systems drop env vars (eg scons by default did so [2]). Who is

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Domen Kožar
what's the output of: $ id PS: would be easier to debug this on irc FreeNode #nixos On Mon, Feb 17, 2014 at 1:41 PM, Sergey Mironov wrote: > Yes, it pops up the error when I try to connect to protected wifi. My > configuration has nothing special in the area of networking, but I am > using Xfc

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Sergey Mironov
Yes, it pops up the error when I try to connect to protected wifi. My configuration has nothing special in the area of networking, but I am using Xfce as a window manager (I guess most of the people use nixos with KDE). My Nixos tree is forked from https://github.com/NixOS/nixpkgs/commit/cec700aab

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Domen Kožar
Hi Sergey, what rev of nixpkgs are you using? Anything special about your configuration? I guess this happens when you try to connect on protected wifi, right? d. On Mon, Feb 17, 2014 at 12:15 PM, Sergey Mironov wrote: > 2014-02-17 14:38 GMT+04:00 Cillian de Róiste : > > Hi, > > > > I don't k

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Sergey Mironov
2014-02-17 14:38 GMT+04:00 Cillian de Róiste : > 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 > Yes, I know about this, thanks. My problem

Re: [Nix-dev] nix-shell NetworkManager

2014-02-17 Thread Cillian de Róiste
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 wrote: > 2014-02-16 22:44 GMT+04:00 Sergey Mironov : >

Re: [Nix-dev] nix-shell NetworkManager

2014-02-16 Thread Sergey Mironov
2014-02-16 22:44 GMT+04:00 Sergey Mironov : > 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 build

[Nix-dev] nix-shell NetworkManager

2014-02-16 Thread Sergey Mironov
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/k4bh0