Re: [Nix-dev] Mate-on-Nixos: nix-shell runs OK, but nix-build hangs when compiling libmateweather

2014-05-29 Thread Anderson Torres
Well, I added "--enable-all-translations-in-one-xml" as a workaround, bypassing some make directives... I think it can be something related to Nix itself, but I will investigate later. I am fighting against other bugs, too - now in 'caja', the file manager. But I will post about them today at nigh

[Nix-dev] Nix/Nixpkgs on Cygwin

2014-05-29 Thread Sander van der Burg - EWI
Hello Nixers, Recently I had to do couple of development tasks on *cough cough* MS Windows. Unfortunately, Nix did not seem to work on it anymore, so I have decided revive the Cygwin support. I had to make a few subtle modifications to the Nix package manager, such as including cstdlib at sever

Re: [Nix-dev] Nix/Nixpkgs on Cygwin

2014-05-29 Thread Domen Kožar
Did you run into https://github.com/NixOS/nix/issues/19? On Thu, May 29, 2014 at 3:08 PM, Sander van der Burg - EWI < s.vanderb...@tudelft.nl> wrote: > Hello Nixers, > > Recently I had to do couple of development tasks on *cough cough* MS > Windows. > > Unfortunately, Nix did not seem to work o

Re: [Nix-dev] Nix/Nixpkgs on Cygwin

2014-05-29 Thread Sander van der Burg - EWI
Yes I know this issue. It's a few years old actually. Right now, I haven't checked the substituters things yet. First, because we don't have any prebuilt stuff on Hydra. Second, I think it should work with Perl bindings disabled, but I'm not entirely sure about that. Regarding DLLs: I know thi

[Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
I think there is room for improvement for installing and using nixpkgs on another distribution. I see two big problems: 1. installation 2. environment variables Installation: The single-user installation is cute, but realistically you need root anyway to create /nix so it would be nice i

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
Another issue I just remembered is that of setuid binaries. NixOS has a mechanism for it, and it could just as easily be used elsewhere. Without it, you can't easily use qemu for example. Wout. On Thu, May 29, 2014 at 5:28 PM, Wout Mertens wrote: > I think there is room for improvement for insta

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Eelco Dolstra
Hi, On 29/05/14 18:34, Wout Mertens wrote: > Another issue I just remembered is that of setuid binaries. NixOS has a > mechanism for it, and it could just as easily be used elsewhere. Without it, > you > can't easily use qemu for example. Why? Qemu does not need to be setuid. -- Eelco Dolstra

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
On May 29, 2014 6:58 PM, "Eelco Dolstra" wrote: > > Hi, > > On 29/05/14 18:34, Wout Mertens wrote: > > > Another issue I just remembered is that of setuid binaries. NixOS has a > > mechanism for it, and it could just as easily be used elsewhere. Without it, you > > can't easily use qemu for exampl

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread John Wiegley
> Wout Mertens writes: > I think there is room for improvement for installing and using nixpkgs on > another distribution. > I see two big problems: > 1. installation > 2. environment variables Also: setting up services to run when the system boots. For example, Homebrew tells you how to a

Re: [Nix-dev] Using Nixpkgs outside of NixOS

2014-05-29 Thread Wout Mertens
On Thu, May 29, 2014 at 10:23 PM, John Wiegley wrote: > > Wout Mertens writes: > > > I think there is room for improvement for installing and using nixpkgs on > > another distribution. > > > I see two big problems: > > 1. installation > > 2. environment variables > > Also: setting up service

[Nix-dev] apache module and ip:port configurations?

2014-05-29 Thread Marc Weber
For fun I tried placing apache behind nginx. making apache listen on non standard port made existing installations such as "wordpress" return redirects. (Yes, could be fixed, ..) I tried setting up a second "loopback" device so that I was able to use port 80 twice (once for nginx proxy_passing requ

[Nix-dev] [Mate-on-Nixos] Work in progress

2014-05-29 Thread Anderson Torres
Hello, Nixers! Well, I want to share my "noviceness" on NixOS. I am working on port Mate Desktop (a fork of GNOME 2). I have posted a not-so-small amount of messages here in the list, in part because I'm not a so smart programmer, and in part because I want to share my experiences in a huge proje