[Nix-dev] Nixos manual in PDF format

2014-08-08 Thread José Romildo Malaquias
Hello. I am looking for the nixos manual in PDF format. Is it available anyhwere? Preferably for the unstable version. If it is unavailable, it think it would be a nice addition to the documentation project. Romildo ___ nix-dev mailing list nix-dev@lis

[Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Luca Bruno
I've launched this Zero Hydra Failures (ZHF) project. Details at https://nixos.org/wiki/Zero_Hydra_Failures The hydra instance at nixos.org has lots of build failures, it's a huge percentage over the total. The aim of this project is to drop failures to zero. I invite all contributors to take som

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Paul Colomiets
Hi Luca, Is there any way to see full list (link at the bottom doesn't show them)? Any way to get plain list? (so I can grep out non-linux, etc..) On Fri, Aug 8, 2014 at 1:39 PM, Luca Bruno wrote: > I've launched this Zero Hydra Failures (ZHF) project. Details at > https://nixos.org/wiki/Zero_Hy

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Michael Raskin
>Is there any way to see full list (link at the bottom doesn't show >them)? Any way to get plain list? (so I can grep out non-linux, etc..) Click "Full list" at the bottom, go to the failures tab, copy paste to the text editor of your choice. ___ nix-

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Eelco Dolstra
Hi, On 08/08/14 12:39, Luca Bruno wrote: > I've launched this Zero Hydra Failures (ZHF) project. Details at > https://nixos.org/wiki/Zero_Hydra_Failures Great, thanks! For reference, here is a list of nixpkgs:trunk jobs that have been broken for at least 6 months: http://nixos.org/~eelco/.bl

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Paul Colomiets
Hi Eelco, On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra wrote: > > Note the huge number of Haskell and Python packages. > For Python many of them doesn't support that version of python. Wouldn't it be nice to declare supported versions inside a package, inside of moving package to various sets.

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Rok Garbas
Quoting Paul Colomiets (2014-08-08 15:13:57) > Hi Eelco, > > On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra > wrote: > > > > Note the huge number of Haskell and Python packages. > > > > For Python many of them doesn't support that version of python. > Wouldn't it be nice to declare supported vers

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Domen Kožar
On Fri, Aug 8, 2014 at 4:47 PM, Rok Garbas wrote: > Quoting Paul Colomiets (2014-08-08 15:13:57) > > Hi Eelco, > > > > On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra > > wrote: > > > > > > Note the huge number of Haskell and Python packages. > > > > > > > For Python many of them doesn't support t

[Nix-dev] Automatically deploy data using nixops

2014-08-08 Thread Sebastian Korten
Hi everyone. I'm currently getting to know nixops and am quite fascinated by it ;o) Is there a way to automatically deploy data into a server? Would I do this by creating a nixpkg entry for it and then use a personal/modified nixpkgs repo with nixops (maybe by using $NIX_PATH or something like th

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Florian Friesdorf
Rok Garbas writes: > Quoting Paul Colomiets (2014-08-08 15:13:57) >> On Fri, Aug 8, 2014 at 3:35 PM, Eelco Dolstra >> wrote: >> > >> > Note the huge number of Haskell and Python packages. >> > >> >> For Python many of them doesn't support that version of python. >> Wouldn't it be nice to declar

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Mateusz Kowalczyk
On 08/08/2014 02:35 PM, Eelco Dolstra wrote: > Hi, > > On 08/08/14 12:39, Luca Bruno wrote: > >> I've launched this Zero Hydra Failures (ZHF) project. Details at >> https://nixos.org/wiki/Zero_Hydra_Failures > > Great, thanks! > > For reference, here is a list of nixpkgs:trunk jobs that have be

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Luca Bruno
Not necessarily. Think like platforms.gnu. There may be a meta.pythonVersions and a default pythonVersions.default2 and pythonVersions.default3 and pythonVersions.all or such. Then adding a new major version to all packages is a metter of adding it to the default list. On Fri, Aug 8, 2014 at 5:40

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Florian Friesdorf
On the long run python2.6 and the corresponding disable flags will be gone and packages will support 2.7 and 3.x. I expect disable flags to be the exception. Anyway, the work needed is to do the flagging. We are doing this for the wheels we are working on and I'm also looking at the sprint in Lju

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Paul Colomiets
On Fri, Aug 8, 2014 at 6:50 PM, Luca Bruno wrote: > Not necessarily. Think like platforms.gnu. There may be a > meta.pythonVersions and a default pythonVersions.default2 and > pythonVersions.default3 and pythonVersions.all or such. Then adding a new > major version to all packages is a metter of a

[Nix-dev] Haskell build failures (was: Zero Hydra Failures (ZHF) project)

2014-08-08 Thread Daniel Bergey
On 2014-08-08 at 15:41, Mateusz Kowalczyk wrote: > On 08/08/2014 02:35 PM, Eelco Dolstra wrote: >> Note the huge number of Haskell and Python packages. > > The problem with Haskell jobs as far as I can tell is that we often > remove old versions of packages when ‘updating’. Consider something like

Re: [Nix-dev] Haskell build failures

2014-08-08 Thread Peter Simons
Hi Daniel, > Nix includes several versions of GHC, and one of the few cases where > we include multiple versions of a Haskell library is when that library > ships with GHC or Haskell Platform. Eg, 10 versions of HTTP, 9 > versions of GLUT. > > We end up telling Hydra to build every version o

Re: [Nix-dev] Nixos manual in PDF format

2014-08-08 Thread Vladimír Čunát
Hi. On 08/08/2014 12:05 PM, José Romildo Malaquias wrote: I am looking for the nixos manual in PDF format. Is it available anyhwere? Preferably for the unstable version. No, I don't think we build it. If it is unavailable, it think it would be a nice addition to the documentation project.

Re: [Nix-dev] Haskell build failures

2014-08-08 Thread Mateusz Kowalczyk
On 08/08/2014 09:19 PM, Peter Simons wrote: > Hi Daniel, > > > Nix includes several versions of GHC, and one of the few cases where > > we include multiple versions of a Haskell library is when that library > > ships with GHC or Haskell Platform. Eg, 10 versions of HTTP, 9 > > versions of GLUT

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Charles Strahan
This sounds like a great initiative. I would be glad to help (feel free to hand me some tasks). > The second solution would be a large added maintenance and Hydra burden > as the number of packages would increase dramatically. In turn we would > have binaries for a lot of versions which while nice

Re: [Nix-dev] Haskell build failures

2014-08-08 Thread Luca Bruno
Yes, that's very similar to what iElectric & co are going to do for python. I suggest a meta.pythonVersions and meta.ghcVersions, and so on. On Fri, Aug 8, 2014 at 9:29 PM, Mateusz Kowalczyk wrote: > On 08/08/2014 09:19 PM, Peter Simons wrote: > > Hi Daniel, > > > > > Nix includes several vers

[Nix-dev] Installing Nixos

2014-08-08 Thread Julio Cesar Campos
Hello, in the last week I have made 3 attempts to install NixOS following 2 pages which give some pointers on how to install this, the result NixOS grub does not recognize and does not start session. I want to install this, but really the information for people who are not informatics but afiiconad

Re: [Nix-dev] Installing Nixos

2014-08-08 Thread Luca Bruno
On Fri, Aug 8, 2014 at 10:00 PM, Julio Cesar Campos wrote: > Hello, in the last week I have made 3 attempts to install NixOS following > 2 pages which give some pointers on how to install this, the result NixOS > grub does not recognize and does not start session. > It would be helpful if you re

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Alexander Kjeldaas
On Fri, Aug 8, 2014 at 12:39 PM, Luca Bruno wrote: > I've launched this Zero Hydra Failures (ZHF) project. Details at > https://nixos.org/wiki/Zero_Hydra_Failures > > The hydra instance at nixos.org has lots of build failures, it's a huge > percentage over the total. The aim of this project is to

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Luca Bruno
That's a good idea for the long-term. However the mechanism for which we decide that a package is buildable with python2 but not python3 is still a work in progress. Same goes for other languages like haskell. So before reaching that automation level it's necessary to step through this rough proble

[Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Mateusz Kowalczyk
Hi, I have some software here that I'm trying to package. At first it all went smooth but then it didn't run. It was narrowed down to the use of dlopen in the source files. So currently I have something like this. preConfigure = '' sed -i "s...@libx11.so@${libX11}/lib/libX11.so@g" src/backe

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Luca Bruno
Use /run/opengl-driver. It only works in nixos, and after all, it only makes sense with nixos because of drivers. On Fri, Aug 8, 2014 at 11:18 PM, Mateusz Kowalczyk wrote: > Hi, > > I have some software here that I'm trying to package. At first it all > went smooth but then it didn't run. It wa

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Vladimír Čunát
On 08/08/2014 11:22 PM, Luca Bruno wrote: Use /run/opengl-driver. It only works in nixos, and after all, it only makes sense with nixos because of drivers. Yes. It's actually /run/opengl-driver-32 on i686-linux, and it's probably best to use the exported vars, e.g. mesa_noglu.driverLink. On

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Mateusz Kowalczyk
On 08/08/2014 11:22 PM, Luca Bruno wrote: > Use /run/opengl-driver. It only works in nixos, and after all, it only > makes sense with nixos because of drivers. > Unfortunately /run/opengl-driver/lib contains neither libEGL.so nor libGLESv2.so. Do you know how to proceed? Does this means that ther

Re: [Nix-dev] Installing Nixos

2014-08-08 Thread Tim Hawes
I would like to suggest a brief troubleshooting guide of some sorts for first time installers. The first time I installed NixOS, it went smoothly. But on subsequent attempts, I ran into problems. One of the main reasons I entertain the idea of using NixOS as a primary desktop is so I can easily re

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Vladimír Čunát
On 08/08/2014 11:30 PM, Mateusz Kowalczyk wrote: Unfortunately /run/opengl-driver/lib contains neither libEGL.so nor libGLESv2.so. Do you know how to proceed? Does this means that there is just no support for these things from nVidia and I need another driver? Ah, that's an issue not solved yet

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Mateusz Kowalczyk
On 08/09/2014 12:18 AM, Vladimír Čunát wrote: > On 08/08/2014 11:30 PM, Mateusz Kowalczyk wrote: >> Unfortunately /run/opengl-driver/lib contains neither libEGL.so nor >> libGLESv2.so. Do you know how to proceed? Does this means that there is >> just no support for these things from nVidia and I ne

Re: [Nix-dev] dlopen and mesa-likes

2014-08-08 Thread Mateusz Kowalczyk
On 08/09/2014 12:57 AM, Mateusz Kowalczyk wrote: > On 08/09/2014 12:18 AM, Vladimír Čunát wrote: >> On 08/08/2014 11:30 PM, Mateusz Kowalczyk wrote: >>> Unfortunately /run/opengl-driver/lib contains neither libEGL.so nor >>> libGLESv2.so. Do you know how to proceed? Does this means that there is >>

Re: [Nix-dev] Installing Nixos

2014-08-08 Thread Tim Hawes
Julio, Theoretically, You should be able to delete the partition and recreate it. I was installing to a USB flash drive. I had initially recreated the partition with fdisk, but that apparently was not enough. Probably because what fdisk might have actually done initially was not to delete the ori

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Luca Bruno
@peti: the recent hydraPlatforms change is a hack right? Because that does not prevent the user from trying to install the package, which will be compiled and will fail. On Fri, Aug 8, 2014 at 10:45 PM, Luca Bruno wrote: > That's a good idea for the long-term. However the mechanism for which we

Re: [Nix-dev] Zero Hydra Failures (ZHF) project

2014-08-08 Thread Michael Raskin
>@peti: the recent hydraPlatforms change is a hack right? Because that does >not prevent the user from trying to install the package, which will be >compiled and will fail. hydraPlatforms is a reasonable solution for another problem; when the build takes more space than time and the package is les