Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-10 Thread Marc Weber
I've had trouble with thinking rock (only using my old files). Never mind - I replaced it with task warrior For those who are still looking for a small nifty task management application: http://taskwarrior.org/projects/taskwarrior/wiki/Tutorial It looks like there are many different frontends. Ma

Re: [Nix-dev] kernel 3.6 NAT issues

2012-10-10 Thread Mathijs Kwik
Ok, I tracked it down a bit further. It seems that doing anything to any interface fixes the problem. In my case, I have tap1, which is just a virtual device, connected to a qemu/kvm instance. It is setup during boot and given a static ip address. My connected real interface is wlan0. I also have

Re: [Nix-dev] kernel 3.6 NAT issues

2012-10-10 Thread Mathijs Kwik
On Wed, Oct 10, 2012 at 7:41 PM, Lluís Batlle i Rossell wrote: > On Wed, Oct 10, 2012 at 07:21:30PM +0200, Mathijs Kwik wrote: >> I'm trying out kernel 3.6 at the moment and all is well except for 1 thing. >> NAT / masquerading does no longer seem to work. > > No idea; maybe a try on 3.6.1? I'm o

Re: [Nix-dev] [NixOS] 127.0.0.1 in /etc/hosts

2012-10-10 Thread Mathijs Kwik
I was looking in the wrong place again. Turns out nixos' mongo module defaults binding to 127.0.0.1 which is a secure default for people who don't have a firewall up. Setting this to 0.0.0.0 fixes the issue. Firewall seems unrelated. Sorry for the confusion and thanks for your help. On Wed, Oct

Re: [Nix-dev] Setting binary-cache doesn't work

2012-10-10 Thread Eelco Dolstra
Hi, On 10/10/12 14:32, Peter Simons wrote: > failed: binary cache ‘http://hydra.nixos.org’ is not trusted (please add > it to ‘trusted-binary-caches’ [http://nixos.org/binary-cache > http://nixos.org/binary-cache] in /etc/nix/nix.conf) Weird. It's strange that http://nixos.org/binary-cach

Re: [Nix-dev] Merging x-updates?

2012-10-10 Thread Vladimír Čunát
On 10/10/2012 08:08 PM, Eelco Dolstra wrote: Well, some testing would be good. I was about to send a mail about that but you beat me to it. :-) So, everybody: please test the x-updates branch. If you have a recent Nix prerelease, you may want to use "--option binary-caches http://hydra.nixos.o

[Nix-dev] Setting binary-cache doesn't work (was: Merging x-updates?)

2012-10-10 Thread Peter Simons
Hi Eelco, > Use "--option binary-caches http://hydra.nixos.org"; to get prebuilt > binaries from Hydra. this doesn't work for me: $ nix-env --option binary-caches http://hydra.nixos.org -u \* --always [...] error: substituter `/nix/store/96rgql0340rc6vyrwrb0p5jd7j9q017h-nix-1.2pre2910

Re: [Nix-dev] [NixOS] 127.0.0.1 in /etc/hosts

2012-10-10 Thread Eelco Dolstra
Hi, On 10/10/12 12:00, Mathijs Kwik wrote: > mongodb seems to connect to itself, but does so by hostname. > This used to resolve to lo(127.0.0.1), which the firewall fully trusts. > Now it resolves to eth0/wlan0 and the firewall rejects these requests > (I do not want external connections to it).

Re: [Nix-dev] Merging x-updates?

2012-10-10 Thread Eelco Dolstra
Hi, On 10/10/12 13:52, Vladimír Čunát wrote: > On 10/10/2012 07:42 PM, Peter Simons wrote: >> I would like to see the 'x-updates' branch re-integrated into 'master', >> because I need some of those updates to fully support my integrated >> Intel chipset. Is there anything that's preventing us fro

Re: [Nix-dev] Merging x-updates?

2012-10-10 Thread Vladimír Čunát
Hi. On 10/10/2012 07:42 PM, Peter Simons wrote: I would like to see the 'x-updates' branch re-integrated into 'master', because I need some of those updates to fully support my integrated Intel chipset. Is there anything that's preventing us from merging those updates into 'master'? Only a tri

[Nix-dev] Merging x-updates?

2012-10-10 Thread Peter Simons
Hi guys, I would like to see the 'x-updates' branch re-integrated into 'master', because I need some of those updates to fully support my integrated Intel chipset. Is there anything that's preventing us from merging those updates into 'master'? Take care, Peter __

Re: [Nix-dev] kernel 3.6 NAT issues

2012-10-10 Thread Lluís Batlle i Rossell
On Wed, Oct 10, 2012 at 07:21:30PM +0200, Mathijs Kwik wrote: > I'm trying out kernel 3.6 at the moment and all is well except for 1 thing. > NAT / masquerading does no longer seem to work. No idea; maybe a try on 3.6.1? ___ nix-dev mailing list nix-dev@

Re: [Nix-dev] [NixOS] 127.0.0.1 in /etc/hosts

2012-10-10 Thread Mathijs Kwik
On Wed, Oct 10, 2012 at 7:21 PM, Eelco Dolstra wrote: > Hi, > > On 10/10/12 12:00, Mathijs Kwik wrote: > >> I ran into an issue. >> >> mongodb seems to connect to itself, but does so by hostname. > > Can't you configure it to connect to localhost? Nope, it will always use the hostname. This is no

Re: [Nix-dev] [NixOS] 127.0.0.1 in /etc/hosts

2012-10-10 Thread Eelco Dolstra
Hi, On 10/10/12 12:00, Mathijs Kwik wrote: > I ran into an issue. > > mongodb seems to connect to itself, but does so by hostname. Can't you configure it to connect to localhost? -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ ___ nix-

[Nix-dev] kernel 3.6 NAT issues

2012-10-10 Thread Mathijs Kwik
Hi all, I'm trying out kernel 3.6 at the moment and all is well except for 1 thing. NAT / masquerading does no longer seem to work. Has anyone seen an announcement of netfilter changes in this regard? I didn't. I have a qemu/kvm windows instance on my tap1 interface. The host is connected throug

Re: [Nix-dev] [NixOS] 127.0.0.1 in /etc/hosts

2012-10-10 Thread Mathijs Kwik
I ran into an issue. mongodb seems to connect to itself, but does so by hostname. This used to resolve to lo(127.0.0.1), which the firewall fully trusts. Now it resolves to eth0/wlan0 and the firewall rejects these requests (I do not want external connections to it). I was hoping I could add a fir

Re: [Nix-dev] how to install & load kernel module wl?

2012-10-10 Thread Vladimír Čunát
Hi. On 10/10/2012 04:10 PM, Marc Weber wrote: man configuration.nix There is a system option 'extraKernelPackages' or such (boot section). Why doesn't nix-env -i work? Because modprobe is a wrapper which is passed a module directory which is assembled by nixos. And that module directory is alw

Re: [Nix-dev] nix: Building out-of-tree fails.

2012-10-10 Thread Eelco Dolstra
Hi, On 10/10/12 05:48, Mats Erik Andersson wrote: > configuring Nix for an out-of-tree build process fails > miserably. The patch below mends the cause of failure > in "perl/", Thanks, applied! -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

Re: [Nix-dev] how to install & load kernel module wl?

2012-10-10 Thread Marc Weber
man configuration.nix There is a system option 'extraKernelPackages' or such (boot section). Why doesn't nix-env -i work? Because modprobe is a wrapper which is passed a module directory which is assembled by nixos. And that module directory is always represented by /var/run/booted-system only (A

[Nix-dev] nix: Building out-of-tree fails.

2012-10-10 Thread Mats Erik Andersson
Hello there, configuring Nix for an out-of-tree build process fails miserably. The patch below mends the cause of failure in "perl/", but "doc/manual/" presents a much harder problem that I am not able to settle. The release nix-1.1 has another early issue in "src/bin2c/", but that directory is no

[Nix-dev] how to install & load kernel module wl?

2012-10-10 Thread Maarten Faddegon
Hello NixOS-ers, I try to install and load the "wl.ko" kernel module on my fresh install of Nixos, but I seem to be doing something wrong. Please let me show you first what I tried: I installed the broadcom-sta package: $ nix-env -i broadcom-sta installing `broadcom-sta-_5_100_82_112-

Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-10 Thread Rob Vermaas
Netbeans starts fine here. Cheers, Rob On Wed, Oct 10, 2012 at 3:25 PM, Sander van der Burg - EWI wrote: > Freemind seems to run fine, but for some reason netbeans still does not > start. Perhaps there is another library missing. > > From: Shea Levy [s...@shealev

Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-10 Thread Sander van der Burg - EWI
Freemind seems to run fine, but for some reason netbeans still does not start. Perhaps there is another library missing. From: Shea Levy [s...@shealevy.com] Sent: Tuesday, October 09, 2012 5:17 PM To: Sander van der Burg - EWI Cc: nix-...@cs.uu.nl Subject: Re: [Nix

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-10 Thread Eduard Carreras i Nadal
On Wed, Oct 10, 2012 at 9:18 AM, Vladimír Čunát wrote: > Hello. > > > On 10/09/2012 03:32 PM, Eduard Carreras i Nadal wrote: > >> Hello, >> I'm trying to add some goodies to xfce4 like panel plugins. I've done >> the nix expression [1][2], then added to >> pkgs/desktops/xfce-4.8/**default.nix[3].

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-10 Thread Vladimír Čunát
Hello. On 10/09/2012 03:32 PM, Eduard Carreras i Nadal wrote: Hello, I'm trying to add some goodies to xfce4 like panel plugins. I've done the nix expression [1][2], then added to pkgs/desktops/xfce-4.8/default.nix[3]. [...] > Then I tried to install this package with nix-env -i /nix/store/ga