Re: [Nix-dev] CFQ I/O scheduler can't boot my system

2011-09-07 Thread Lluís Batlle i Rossell
On Wed, Sep 07, 2011 at 10:46:43PM +0400, Michael Raskin wrote: > <4e64f7f0.5060...@shealevy.com>) > Mime-Version: 1.0 > Content-type: text/plain; charset="UTF-8" > > breaks my boot process. The linuxPackages_2_6_38_ati kernel hangs after > probing the ata devices. I've reverted to an ol

Re: [Nix-dev] Nix package manager issues

2011-09-06 Thread Lluís Batlle i Rossell
On Tue, Sep 06, 2011 at 05:11:33AM +0200, Rickard Ekman wrote: > I've seemed to somehow break my installation, yesterday it worked fine and > packages installed correctly but when I try to install them today all the > files get downloaded as usual but it seems to fail at the linking procedure. > It

Re: [Nix-dev] Current stdenv is Broken in Absence of Substitutors

2011-09-05 Thread Lluís Batlle i Rossell
On Mon, Sep 05, 2011 at 03:27:22PM -0400, Shea Levy wrote: > Hi all, > > Due to a license issue, the GNU mirrors no longer contain > binutils-2.21.tar.bz2 > (http://sourceware.org/ml/binutils/2011-08/msg00198.html). > Therefore, building stdenv fails in a non-standard nix store > location or if su

Re: [Nix-dev] Re: NixOS has a non-conforming value for _CS_PATH. Do we care?

2011-08-31 Thread Lluís Batlle i Rossell
On Wed, Aug 31, 2011 at 06:56:44PM +0200, Ludovic Courtès wrote: > Saluton, > > Lluís Batlle i Rossell skribis: > > > On Tue, Aug 30, 2011 at 11:38:39PM +0200, Ludovic Courtès wrote: > > [...] > > >> By definition, systems on which GNU libc is built off

Re: [Nix-dev] Re: NixOS has a non-conforming value for _CS_PATH. Do we care?

2011-08-30 Thread Lluís Batlle i Rossell
On Tue, Aug 30, 2011 at 11:38:39PM +0200, Ludovic Courtès wrote: > Hi, > > >> I think we should patch libc’s sysdeps/unix/confstr.h to use > >> "/var/run/current-system/sw/bin" as its value. This path allows access > >> to “all of the standard utilities”, as POSIX puts it. > > [...] > > > For n

Re: [Nix-dev] Re: new possible movement to git (?)

2011-08-30 Thread Lluís Batlle i Rossell
On Tue, Aug 30, 2011 at 07:34:36PM +0200, Peter Simons wrote: > Hi Lluís, > > > I would have Hydra build only stdenv-updates. > > in that case, I am glad that this decision is not up to you. Based > on , I have faith that the > people who do make those kin

Re: [Nix-dev] Re: new possible movement to git (?)

2011-08-30 Thread Lluís Batlle i Rossell
On Tue, Aug 30, 2011 at 08:12:33PM +0400, Michael Raskin wrote: > >Under those circumstances, I don't see how we could agree, so I suggest > >we agree to disagree. > > Well, I am even more unconvinced - based on my experience with updates, > I would prefer stdenv-updates to be unified branch even

Re: [Nix-dev] new possible movement to git (?)

2011-08-29 Thread Lluís Batlle i Rossell
On Thu, Aug 25, 2011 at 10:31:06AM +0200, Nicolas Pierron wrote: > Hi, > > I just want to add one more point in favor to git. (compared to svn) > The history does not have to be clone entirely if you want to checkout > the HEAD / a branch / a tag. Nix-prefect-git (already used by Hydra > and Nixp

[Nix-dev] root tmpfs and remote nix store+database

2011-08-29 Thread Lluís Batlle i Rossell
I think that it's similar to the case of the vms in nixos, but... has anyone been using a root in tmpfs and /nix served by nfs? That should be quite a reliable way of having thin clients where that with write-access to /nix can even update software easily in those machines. Will that work straight

Re: [Nix-dev] [PATCH] Root filesystem on NFS

2011-08-29 Thread Lluís Batlle i Rossell
On Mon, Aug 29, 2011 at 11:01:08AM +0200, Rickard Nilsson wrote: > >Thanks for your interest in NixOS. > >Feel free to contribute, I'll take pleasure to review your patches. > > I will polish the nfsmount patch a bit and then submit it again. The > network stuff will require some more work before

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 04:21:40PM +0200, Marc Weber wrote: > Excerpts from Lluís Batlle i Rossell's message of Wed Aug 17 10:45:39 +0200 > 2011: > > I'd like a list of the problems this would solve. > Eventually build of python-2.7 on linux-3.0 and the like which use uname > to determine kernel v

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 01:11:53PM +0200, Marco Maggesi wrote: > On Aug 17, 2011, at 12:47 PM, Lluís Batlle i Rossell wrote: > > BLCR should fail to work in kernels older to the kernelHeaders in nixpkgs. > > And > > the kernelHeaders in nixpkgs should be the only determ

Re: [Nix-dev] Nix on ubuntu 11.04

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 03:45:36PM +0400, Michael Raskin wrote: > >I tried nix version 0.16, first with the deb package then I compiled the > >sources myself. > >I would like to try the svn trunk version of nix but I get the following > >compile error during the installation: > > > >make[3]: Ente

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 12:33:37PM +0200, Marco Maggesi wrote: > > On Aug 17, 2011, at 11:46 AM, Eelco Dolstra wrote: > > > Hi, > > > > On 08/17/2011 05:03 AM, s...@shealevy.com wrote: > > > >> What would people think of a patch that made stdenv's uname return the > >> same value on every linux

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 12:59:22PM +0400, Michael Raskin wrote: > ) > Mime-Version: 1.0 > Content-type: text/plain; charset="UTF-8" > > >> >What would people think of a patch that made stdenv's uname return the > >> >same value on every linux? I've only just had the idea and haven't had > >> >time

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
Hello, On Wed, Aug 17, 2011 at 11:46:32AM +0200, Eelco Dolstra wrote: > BTW, the kernel version does matter sometimes, for instance, APR > (IIRC) at compile-time decides whether to use the accept4() system > call based on the kernel version of the build system. So if you try > to run the resultin

Re: [Nix-dev] Patching uname in stdenv?

2011-08-17 Thread Lluís Batlle i Rossell
On Wed, Aug 17, 2011 at 11:16:12AM +0400, Michael Raskin wrote: > >Hi all, > > > >What would people think of a patch that made stdenv's uname return the > >same value on every linux? I've only just had the idea and haven't had > >time to think through the possible downsides, but my initial thought

[Nix-dev] PXE boot of the system-tarball-pc

2011-08-15 Thread Lluís Batlle i Rossell
Hello, I think that I made the system-tarball-pc easier to use, through some example files related to PXE booting, and a readme file (all inside the tarball). The readme file tells how to test it with qemu too. I think Marc Weber was interested in this. Marc, can you give a try to the last syste

Re: [Nix-dev] Re: Trouble with the linux kernel configuration perl script

2011-08-15 Thread Lluís Batlle i Rossell
On Mon, Aug 15, 2011 at 01:24:54PM +0400, Yury G. Kudryashov wrote: > Lluís Batlle i Rossell wrote: > > > Hello, > > > > I just wanted to enable the ATH5K=y option, and the build log of the > > kernel goes like this: > > ... > > QUESTION: Athero

[Nix-dev] Trouble with the linux kernel configuration perl script

2011-08-14 Thread Lluís Batlle i Rossell
Hello, I just wanted to enable the ATH5K=y option, and the build log of the kernel goes like this: ... QUESTION: Atheros 5xxx wireless cards support, NAME: ATH5K, ALTS: N/m/?, ANSWER: y repeated question: Atheros 5xxx wireless cards support at /nix/store/clk2lcn6cczwlllywfh8l3c5g8ccxvi

Re: [Nix-dev] Use shallow copying in fetchgit

2011-07-20 Thread Lluís Batlle i Rossell
On Wed, Jul 20, 2011 at 10:54:51PM +0200, Marc Weber wrote: > Excerpts from Peter Simons's message of Wed Jul 20 22:46:57 +0200 2011: > > Does anyone see a problem with applying this patch? > > Yes. > At least in the past there was an issue: You could'nt tell git "check > out rev XY". So you had t

Re: [Nix-dev] NIXPKGS environment variable in nixos-rebuild

2011-07-20 Thread Lluís Batlle i Rossell
On Wed, Jul 20, 2011 at 02:31:09PM +0200, magg...@math.unifi.it wrote: > Quoting Eelco Dolstra : > > >Hi, > > > >On 07/20/2011 11:41 AM, Marco Maggesi wrote: > > > >>I came across this old post which I'm trying to put in practice, > >>precisely for the compilation of a latex document. > >> > >>I h

Re: [Nix-dev] Adding perl as a build input to util-linux-ng?

2011-07-09 Thread Lluís Batlle i Rossell
Hello Peter, On Sat, Jul 09, 2011 at 01:14:22AM +0200, Peter Simons wrote: > is anyone aware of a reason why perl should *not* be passed as a build > input to util-linux-ng (other than the fact that doing so would trigger > a re-build of stdenv)? What would be the benefit? > Assuming that making

Re: [Nix-dev] Ghostscript variant

2011-05-26 Thread Lluís Batlle i Rossell
On Thu, May 26, 2011 at 04:31:34PM +0200, Ludovic Courtès wrote: > Hi Lluís! > > LluXXs Batlle skribas: > > > Author: viric > > Date: Tue May 24 15:35:38 2011 > > New Revision: 27297 > > URL: https://svn.nixos.org/websvn/nix/?rev=27297&sc=1 > > > > Log: > > Adding mainline ghostscript as an opti

Re: [Nix-dev] openvpn module in NixOS

2011-04-10 Thread Lluís Batlle i Rossell
On Sun, Apr 10, 2011 at 10:22:21AM -0400, rocon...@theorem.ca wrote: > ${config.system.sbin.modprobe}/sbin/modprobe tun || true > Maybe instead of that, the nixos module should simply add the "tun" into boot.kernelModules. ___ nix-dev mailing

Re: [Nix-dev] Nix-env bugs

2011-04-06 Thread Lluís Batlle i Rossell
On Tue, Apr 05, 2011 at 11:44:06PM +0200, Eelco Dolstra wrote: > Hi, > > On 04/05/2011 11:11 PM, Vladimír Čunát wrote: > > >it seems nix-env --upgrade is broken. I'm not sure if this was always > >like that (my version is 1.0pre26015) but it is certainly clashing > >with the man page. It offers d

Re: [Nix-dev] Nix-env bugs

2011-04-05 Thread Lluís Batlle i Rossell
On Tue, Apr 05, 2011 at 11:28:08PM +0200, Marc Weber wrote: > Excerpts from Vladimír Čunát's message of Tue Apr 05 23:11:52 +0200 2011: > > Hello, > > it seems nix-env --upgrade is broken. I'm not sure if this was always > > like that (my version is 1.0pre26015) but it is certainly clashing > > wit

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r26668 - in nixpkgs/trunk/pkgs: development/compilers/gcc-4.4 development/compilers/gcc-4.6 top-level

2011-04-04 Thread Lluís Batlle i Rossell
On Mon, Apr 04, 2011 at 11:06:48PM +0200, Ludovic Courtès wrote: > Hi! > > Shea Levy writes: > > > Ludo’ (and whoever else handles stdenv-updates), > > > > Would you mind if I modified gcc-wrapper in stdenv-updates to create a > > gccgo wrapper if the gccgo binary exists? > > Fine with me! I

Re: [Nix-dev] Vim on the Live CD

2011-04-02 Thread Lluís Batlle i Rossell
On Fri, Apr 01, 2011 at 08:12:22PM -0700, s...@shealevy.com wrote: > Hi all, > > Replacing nvi with vim in the base live cd profile increases the size of > the minimal ISO by 8M (191 M to 199 M, a 4% size increase) on my system. > Would anyone mind if I committed that replacement? I'd also prefer

Re: [Nix-dev] Minor stdenv down-grade required in trunk

2011-04-01 Thread Lluís Batlle i Rossell
On Fri, Apr 01, 2011 at 06:49:34PM +0200, Peter Simons wrote: > Hi guys, > > I'm about to commit a patch to trunk that downgrades stdenv on Linux from > glibc 2.12 to 2.5. That change is required, because all glibc versions > after that have a bug that prevents them from being run with kernel 2.4.

Re: [Nix-dev] GPT Fdisk 7.1

2011-03-27 Thread Lluís Batlle i Rossell
On Fri, Mar 25, 2011 at 09:01:47AM -0400, Shea Levy wrote: > Whoops, there was an unnecessary space in that last one, resubmitting. > On 03/25/2011 08:58 AM, Shea Levy wrote: > >Hi all, > > > >This patch bumps gptfdisk to version 7.1. Committed. Thank you!

Re: [Nix-dev] AUFS 2.1 for 2.6.37

2011-03-27 Thread Lluís Batlle i Rossell
On Sun, Mar 27, 2011 at 09:36:37AM -0400, Shea Levy wrote: > Resubmitting this patch with notes. >* The make target for the aufs2.1 headers uses a Makefile in the > kernel build directory that requires that unifdef be in the > scripts/ subdirectory of the build directory. The way I've

Re: [Nix-dev] nuke-refs

2011-03-25 Thread Lluís Batlle i Rossell
On Fri, Mar 25, 2011 at 01:23:32PM +0100, Rickard Nilsson wrote: > Hi, > > I'm trying to build the nixos ISO with: > > nix-build nixos/release.nix -A iso_minimal > > I've got a recent nix trunk build installed, and I've added prebuilt > binaries with nix-pull. However, I get the following erro

Re: [Nix-dev] Boost and Locale issues

2011-03-25 Thread Lluís Batlle i Rossell
On Thu, Mar 24, 2011 at 10:15:28PM -0400, rocon...@theorem.ca wrote: > I've almost completed a package for bitcoin, but I'm having a locale issue > > $ result/bin/bitcoin > terminate called after throwing an instance of 'std::runtime_error' > what(): locale::facet::_S_create_c_locale name not v

Re: [Nix-dev] NixOS with NFS-root

2011-03-22 Thread Lluís Batlle i Rossell
On Tue, Mar 22, 2011 at 04:50:18PM +0100, Rickard Nilsson wrote: > Hi, > > Is anyone running NixOS with the root partition on NFS, booting from > PXE? I want to replicate my current diskless Linux-setup in NixOS, > is it possible? I am prepared to work to make it happen, but I'd > appreciate any p

Re: [Nix-dev] Re: efibootmgr: A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager

2011-03-22 Thread Lluís Batlle i Rossell
On Mon, Mar 21, 2011 at 07:03:28PM -0400, Shea Levy wrote: > On 3/6/11 11:08 PM, Shea Levy wrote: > >Hi all, > > > >I've written a nix expression for efibootmgr, a tool which allows > >you to modify some of the nvram variables used by EFI and UEFI > >systems to manage the boot process. efibootmgr s

Re: [Nix-dev] /srv directory for storing site-specifc data served by the system

2011-03-16 Thread Lluís Batlle i Rossell
On Wed, Mar 16, 2011 at 11:14:27PM +0100, Sander van der Burg wrote: > Hi all, > When I was still doing Linux from Scratch I also used this directory, but in > NixOS I put everything in /var or some other unknown location. I find it very > convenient to use /srv. What do you think about the /srv

Re: [Nix-dev] contribute patches and support of AIX platform

2011-03-16 Thread Lluís Batlle i Rossell
On Tue, Mar 15, 2011 at 04:31:09PM -0400, Olexiy Buyanskyy wrote: > All, > > On Tue, Mar 15, 2011 at 9:04 AM, Olexiy Buyanskyy wrote: > I found solution here > http://publib.boulder.ibm.com/tividd/td/ITAME/GC32-0846-00/en_US/HTML/am39_perftune11.htm > I had to set to complete nix-env execution wi

Re: [Nix-dev] error with nixpkgs_ustable tarball and channel

2011-03-15 Thread Lluís Batlle i Rossell
On Tue, Mar 15, 2011 at 01:26:54PM -0400, Olexiy Buyanskyy wrote: > Hi, > I see file > pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.ni > missing 'x' I just tried: $ curl http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/nixexprs.tar.bz2 | bunzip2 | tar t

Re: [Nix-dev] contribute patches and support of AIX platform

2011-03-14 Thread Lluís Batlle i Rossell
On Mon, Mar 14, 2011 at 10:11:29AM -0400, Olexiy Buyanskyy wrote: > Hi, > > I am curious is bug tracking reviewed by anybody? > I have submitted two bugs > > http://yellowgrass.org/issue/Nix/207 > http://yellowgrass.org/issue/Nix/215 > At that time the issue addition was not emailed anywhere, bu

Re: [Nix-dev] [***SPAM***] GPT fdisk: A Partitioning Tool for GPT disks

2011-03-14 Thread Lluís Batlle i Rossell
On Mon, Mar 14, 2011 at 03:20:33PM -0400, Shea Levy wrote: > Hi all, > > Attached is an expression for gdisk > (http://www.rodsbooks.com/gdisk/). It provides tools for formatting > GPT drives using an interface similar to that of fdisk. I committed it. It built fine. Thank you! __

Re: [Nix-dev] Hydra, nix-prefetch-git, and TopGit

2011-03-09 Thread Lluís Batlle i Rossell
On Wed, Mar 09, 2011 at 11:40:11PM +0100, Ludovic Courtès wrote: > Hello! > > I’m trying to see how to apply the recipe at > from > within a Git clone produced by Hydra. > > A plain ‘git clone’ doesn’t fetch objects references by

[Nix-dev] Re: [Nix-commits] SVN commit: nix - r26152 - in nixpkgs/trunk/pkgs/development/python-modules: pyqt python-sip

2011-03-04 Thread Lluís Batlle i Rossell
On Fri, Mar 04, 2011 at 11:52:46AM +0100, Eelco Dolstra wrote: > Hi, > > On 03/04/2011 10:48 AM, Lluís Batlle wrote: > > >Author: viric > >Date: Fri Mar 4 09:48:29 2011 > >New Revision: 26152 > >URL: https://svn.nixos.org/websvn/nix/?rev=26152&sc=1 > > > >Log: > >Updating pyqt and sip because th

Re: [Nix-dev] Re: How do parallel builds scale?

2011-03-03 Thread Lluís Batlle i Rossell
On Thu, Mar 03, 2011 at 10:51:56PM +0100, Peter Simons wrote: > A build system that is superior in that regard is Boost.Jam, and indeed > your numbers show that the Boost libraries benefit a *lot* from having > several cores available. For what I remember, jam takes almost 2GB of RAM to prepare th

[Nix-dev] hashed mirrors

2011-03-03 Thread Lluís Batlle i Rossell
Hello, today nixos.org is down, connection attempts by curl get hanged. There is something in the mirrors-list named "hashedMirrors", that I finally managed to bypass with something like this: NIX_HASHED_MIRRORS=blabla nix-build -A mypackage ... Otherwise, it all hanged in a curl call that tried

Re: [Nix-dev] /etc/skel, useradd - resolve symlinks before copying?

2011-02-12 Thread Lluís Batlle i Rossell
On Sat, Feb 12, 2011 at 02:39:22PM +0100, Florian Friesdorf wrote: > On Sat, Feb 12, 2011 at 12:54:41PM +0100, Marc Weber wrote: > > The content of the skel .bashrc in the store: > #!/bin/sh > > if [ -f /etc/bashrc ] > then > source /etc/bashrc > fi Is this really needed? Isn't bash always s

Re: [Nix-dev] Nix SQLite branch merged

2011-02-12 Thread Lluís Batlle i Rossell
On Sat, Feb 12, 2011 at 10:51:31AM +0100, Vladimír Čunát wrote: > Hi. > On 11 February 2011 13:49, Eelco Dolstra wrote: > > I've merged the sqlite branch into the Nix trunk.  This replaces the flat > > file > > storage of Nix store path metadata in /nix/var/nix/db with a SQLite > > database. >

Re: [Nix-dev] commercial use of nix package manager

2011-02-11 Thread Lluís Batlle i Rossell
On Fri, Feb 11, 2011 at 08:17:47AM -0500, Olexiy Buyanskyy wrote: > Hello, > > Really like the whole idea of nix package management system. > BTW I was able to compile nix-env with some small changes in the code > and environment on AIX 5.3 > http://yellowgrass.org/issue/Nix/207 > > But in order

Re: [Nix-dev] bash (no -l) resetting PATH?

2011-02-07 Thread Lluís Batlle i Rossell
On Tue, Feb 08, 2011 at 06:40:44AM +0100, Marc Weber wrote: > Try this: > > PATH=/fooX:$PATH > bash > echo $PATH > > /fooX will not appear in $PATH because /etc/bashrc unsets it. > Debian installations don't do it. > So what's the reason for this behaviour? > > I know I could set NOSYSBASHRC.. >

Re: [Nix-dev] general question

2011-02-06 Thread Lluís Batlle i Rossell
On Sun, Feb 06, 2011 at 10:52:59AM +, Roelof Wobben wrote: > > > Hello, > > I like to test Nixox on a virtual machine. > Are there any examples of a template configuration and configuration.nix for > a full Gnome system. For what I know, as noone has wanted to use gnome in NixOS until no

Re: [Nix-dev] transition to pure system

2011-01-05 Thread Lluís Batlle i Rossell
On Wed, Jan 05, 2011 at 10:05:17AM +0100, Florian Friesdorf wrote: > On Tue, Jan 04, 2011 at 04:39:23PM -0700, Kevin Quick wrote: > > On Tue, 04 Jan 2011 14:10:15 -0700, <7c6f4...@mail.ru> wrote: > > > > >export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/var/run/current-system/sw/lib" > > >export NIX_LDFL

Re: [Nix-dev] transition to pure system

2011-01-04 Thread Lluís Batlle i Rossell
On Tue, Jan 04, 2011 at 09:54:26PM +0100, Florian Friesdorf wrote: > On Tue, Jan 04, 2011 at 06:20:50PM +0100, Vladimír Čunát wrote: > > Hello. > > > Is somewhere documented what needs to be done in order to have one > > > profile serve as /usr, apart from just linking it. > > I don't think there i

[Nix-dev] Re: [Nix-commits] SVN commit: nix - r25378 - nixpkgs/trunk/pkgs/servers/sql/mysql51

2011-01-04 Thread Lluís Batlle i Rossell
Hello, On Tue, Jan 04, 2011 at 12:35:06PM +, Peter Simons wrote: > Author: simons > Date: Tue Jan 4 12:35:06 2011 > New Revision: 25378 > URL: https://svn.nixos.org/websvn/nix/?rev=25378&sc=1 > > Log: > pkgs/servers/sql/mysql51/default.nix: updated to version 5.1.54 > > The previous used ve

[Nix-dev] stdenv-updates merged

2010-12-28 Thread Lluís Batlle i Rossell
Hello, Eelco pushed the red button on merging the nixpkgs branch stdenv-updates into trunk. Those following nixpkgs-trunk (or the nixpkgs unstable channel) will notice. I did the same for nixos-stdenv-updates, merging into nixos-trunk. So, those who followed stdenv-updates for their systems to be

[Nix-dev] Re: Stabilising stdenv-updates

2010-12-23 Thread Lluís Batlle i Rossell
On Sun, Oct 03, 2010 at 10:53:26AM +0200, Lluís Batlle i Rossell wrote: > Can someone knowing nixos-testing take a look? So, it looks like we solved most things, and those involved have tested quite enough, for a merge to trunk. Anyone against merging to tr

[Nix-dev] Problem boostrapping binutils in stdenv

2010-12-14 Thread Lluís Batlle i Rossell
The newer binutils link everything -lz. I added the explicit dependency of binutils on zlib recently (r24790). Otherwise it was taken from bootstrap-tools. This created a dependency on bootstrap-tools though we did not want (iirc). I fixed a bug yesterday that made binutils link with the proper

Re: [Nix-dev] NIXPKGS environment variable in nixos-rebuild

2010-12-07 Thread Lluís Batlle i Rossell
On Tue, Dec 07, 2010 at 05:36:03PM +0100, Sander van der Burg wrote: > I was writing some documentation for the nixos-{build-vms,deploy-network} > commands and I noticed that the 'nixos-rebuild' command uses the NIXPKGS > environment variable for locating Nixpkgs. I think the NIXPKGS_ALL > envir

[Nix-dev] Frozen updates to stdenv-updates

2010-12-07 Thread Lluís Batlle i Rossell
Hello, since some days ago, and with emphasis in irc talks, ludovic, me, niksnut and ikwildwrepper more or less agreed on stabilising stdenv-updates to allow a merge to trunk soon. In fact we thought for two weeks we had the stdenv-updates in a quite good state, after some run it. Nevertheless, r

Re: [Nix-dev] 404 on nvi derivation

2010-12-01 Thread Lluís Batlle i Rossell
On Tue, Nov 30, 2010 at 04:34:04PM -0600, Amos Wenger wrote: > When trying to nixos-rebuild my system, a derivation failed to build, > apparently it's "nvi" (somehow related to vi/vim? I'm not using it anyway) > because of a 404 not found on a file. > > Here's the complete log: http://pastebin.com

Re: [Nix-dev] Re: [PATCH] IPython shell

2010-11-29 Thread Lluís Batlle i Rossell
On Mon, Nov 29, 2010 at 11:50:42PM +0100, Cillian de Róiste wrote: > Hi Peter, > > On Mon, Nov 29, 2010 at 8:57 PM, Peter Simons wrote: > I don't really understand the alternative you are suggesting. In my > system configuration.nix can I do something like: > > pkgs.buildPythonPackage.override {

Re: [Nix-dev] Why does nix depend on gcc-4.2.1-apple-5646?

2010-11-29 Thread Lluís Batlle i Rossell
On Mon, Nov 29, 2010 at 07:11:48PM +0100, Peter Simons wrote: > Hi guys, > > I'm running Nix on i686-linux: > > $ nix-env -q \* --system > nix-1.0pre24122 i686-linux > > Now, when I try to update my installation using the current HEAD of > nixpkgs trunk, one of the dependencies are the GCC

Re: [Nix-dev] Question about writing expressions for Python packages

2010-11-29 Thread Lluís Batlle i Rossell
On Mon, Nov 29, 2010 at 12:38:04PM +0100, Cillian de Róiste wrote: > Hi, > > I'm having some trouble creating expressions for Python packages, I > think I'm not setting the correct buildInputs or perhaps I need to use > wrapProgram so set the PYTHONPATH correctly, although I may have > simply misu

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24638 -

2010-11-26 Thread Lluís Batlle i Rossell
On Fri, Nov 26, 2010 at 08:21:40AM +0300, 7c6f4...@mail.ru wrote: > >> Log:>> Do not use ttmkfdir - claimed to be obsolete, Debian patches are > >> going offline.. > > > >So, fonts.enableFontDir = true is broken now. At least in stdenv-updates. > > > >What we have to do then? Is xorg loading fonts

Re: [Nix-dev] Re: Package definition for icarus verilog

2010-11-25 Thread Lluís Batlle i Rossell
aintainers = with stdenv.lib.maintainers; [winden]; > +platforms = with stdenv.lib.platforms; linux; > + }; > +} > Index: pkgs/lib/maintainers.nix > ===

[Nix-dev] Re: [Nix-commits] SVN commit: nix - r24638 - nixpkgs/trunk/pkgs/data/fonts/fontWrap

2010-11-25 Thread Lluís Batlle i Rossell
On Wed, Nov 10, 2010 at 01:22:53PM +, Michael Raskin wrote: > Author: raskin > Date: Wed Nov 10 13:22:53 2010 > New Revision: 24638 > URL: https://svn.nixos.org/websvn/nix/?rev=24638&sc=1 > > Log: > Do not use ttmkfdir - claimed to be obsolete, Debian patches are going > offline.. So, fonts.

Re: [Nix-dev] Re: git mirrors

2010-11-25 Thread Lluís Batlle i Rossell
On Thu, Nov 25, 2010 at 10:02:23AM +0100, Ludovic Courtès wrote: > Hello, > > FWIW I’ve also been using a Git mirror for the purposes of > Nixpkgs-libre: . > > I’ve been hoping since discussions with Eelco this summer that Nixpkgs > would switch to Git, but

Re: [Nix-dev] busybox in a buildenv

2010-11-22 Thread Lluís Batlle i Rossell
On Mon, Nov 22, 2010 at 03:52:42PM +0100, Marc Weber wrote: > Hi Lluís, > > Excerpts from Lluís Batlle i Rossell's message of Sat Nov 20 15:43:08 +0100 > 2010: > > the buildEnv fails to build a profile that only has busybox in it. And > > somehow > > using nix-build -K does not leave any tempora

[Nix-dev] busybox in a buildenv

2010-11-20 Thread Lluís Batlle i Rossell
Hello, the buildEnv fails to build a profile that only has busybox in it. And somehow using nix-build -K does not leave any temporary directory. If I set busybox and dropbear in the profile, it works. As I don't know how to debug perl, can anyone throw some light on this? And shouldn't nix-build

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24751 - nixpkgs/trunk/pkgs/development/libraries/openssl

2010-11-18 Thread Lluís Batlle i Rossell
On Thu, Nov 18, 2010 at 05:05:17AM +0200, Evgeny Egorochkin wrote: > On Thursday 18 November 2010 02:17:43 Lluís Batlle i Rossell wrote: > > On Wed, Nov 17, 2010 at 10:17:36PM +, Evgeny Egorochkin wrote: > > > Author: egorochkin > > > Date: Wed Nov 17 22:17:36 201

[Nix-dev] Re: [Nix-commits] SVN commit: nix - r24751 - nixpkgs/trunk/pkgs/development/libraries/openssl

2010-11-17 Thread Lluís Batlle i Rossell
On Wed, Nov 17, 2010 at 10:17:36PM +, Evgeny Egorochkin wrote: > Author: egorochkin > Date: Wed Nov 17 22:17:36 2010 > New Revision: 24751 > URL: https://svn.nixos.org/websvn/nix/?rev=24751&sc=1 > > Log: > openSSL: bump due to security issues In the past we used to discuss changes like this,

[Nix-dev] Re: [Nix-commits] SVN commit: nix - r24681 - in nixpkgs/trunk/pkgs: development/libraries/libdevil development/libraries/libtorrent-rasterbar games/spring top-level

2010-11-13 Thread Lluís Batlle i Rossell
On Sat, Nov 13, 2010 at 07:47:06AM +, Evgeny Egorochkin wrote: > Author: egorochkin > Date: Sat Nov 13 07:47:04 2010 > New Revision: 24681 > URL: https://svn.nixos.org/websvn/nix/?rev=24681&sc=1 > > Log: > Spring RTS: packaged along with its deps and utils: libDevIL, > libtorrent-rasterbar, s

Re: [Nix-dev] Re: Merging stdenv-updates to trunk - when?

2010-11-09 Thread Lluís Batlle i Rossell
Salut, On Tue, Nov 09, 2010 at 02:32:43PM +0100, Ludovic Courtès wrote: > Hi! > What would you think of merging by Sunday 14th, even if the Darwin port > isn’t fully functional? Why are we in any hurry? :) I prefer having all functional, and late to that date. The only reason for me is to be ab

Re: [Nix-dev] Re: Merging stdenv-updates to trunk - when?

2010-11-09 Thread Lluís Batlle i Rossell
On Tue, Nov 09, 2010 at 01:58:19PM +0100, Peter Simons wrote: > Hi Ludovic, > > > Emacs 23.x builds on x86_64-linux only, though I suspect the problems > > affecting i686-linux are transient errors. Rob: Could you restart them? > > > > http://hydra.nixos.org/job/nixpkgs/stdenv/emacs/jobstatus

[Nix-dev] Merging stdenv-updates to trunk - when?

2010-11-08 Thread Lluís Batlle i Rossell
Bon dia, I'm running since some days the nixos and nixpkgs from stdenv-updates in PC, and I think it works quite fine. I run it in non-PC since more than a month, and all works fine there too. For what I tested (which is mostly "my use cases of nixos/nixpkgs") it works. I think we can merge the

Re: [Nix-dev] Re: Please update of stdenv-linux tarballs

2010-11-02 Thread Lluís Batlle i Rossell
On Tue, Nov 02, 2010 at 11:53:23AM +0100, Peter Simons wrote: > Hi Lluís, > > >> In my humble opinion, a sensible guideline would be that bootstrap tools > >> are not supposed to be modified unless they have to be. [...] Now, I > >> understand Lluís needs the latest binutils in bootstrap tools.

Re: [Nix-dev] Re: Please update of stdenv-linux tarballs

2010-11-01 Thread Lluís Batlle i Rossell
On Mon, Nov 01, 2010 at 11:09:27PM +0100, Peter Simons wrote: > Hi Ludovic, > > > As for the broken Red Hat kernel, I think it’s great if Nixpkgs can > > support it, but only if that’s not too much of a maintenance burden; > > the primary target should remain NixOS, and then distributions that

Re: [Nix-dev] Re: Please update of stdenv-linux tarballs

2010-10-30 Thread Lluís Batlle i Rossell
On Sat, Oct 30, 2010 at 10:30:46AM -0400, rocon...@theorem.ca wrote: > On Sat, 30 Oct 2010, Ludovic Courtès wrote: > > >OTOH, we don’t want to make bootstrapping too complex either, so there’s > >surely a trade-off here, and it probably needs to be considered on a > >case-by-case basis. For this

Re: [Nix-dev] Re: Please update of stdenv-linux tarballs

2010-10-29 Thread Lluís Batlle i Rossell
On Fri, Oct 29, 2010 at 10:39:24AM +0200, Peter Simons wrote: > Hi Lluís, > > > The new bootstrap-tools for i686 are built with glibc 2.12.1 built > > with gcc 4.3 [...]. > > is it really necessary to use the bleeding edge versions of everything > for *bootstrapping*? These choices mean that it

[Nix-dev] Please update of stdenv-linux tarballs

2010-10-28 Thread Lluís Batlle i Rossell
Mr Dolstra, can you update http://nixos.org/tarballs/stdenv-linux/ please? I uploaded the loongson2f bootstrap-tools finally, and I managed to generate new bootstrap-tools for i686 too (as glibc 2.12.1 requires gcc 4.4 to build, and we had gcc 4.3 there - http://sourceware.org/bugzilla/show_bug.cg

Re: [Nix-dev] [PATCH] t/tigervnc

2010-10-26 Thread Lluís Batlle i Rossell
Thank you Marc. Wouldn't you prefer it as an option of the tigervnc package, instead of a new attribute in nixpkgs? Is this the java client to be used as web applet, served by tigervnc? I think that java appled is worth getting working, and your patch may be very close to it. On Tue, Oct 26, 201

[Nix-dev] Exploit on glibc + strategy on how to fix the bug

2010-10-25 Thread Lluís Batlle i Rossell
On Mon, Oct 25, 2010 at 06:25:23PM +, =?ISO-8859-1?Q?Llu=EDs_Batlle_ wrote: > Author: viric > Date: Mon Oct 25 18:25:23 2010 > New Revision: 24475 > URL: https://svn.nixos.org/websvn/nix/?rev=24475&sc=1 > > Log: > Adding a fix for an important glibc vulnerability, very easy to exploit: > http:

Re: [Nix-dev] Re: Removing nulls in BuildInputs

2010-10-24 Thread Lluís Batlle i Rossell
On Sun, Oct 24, 2010 at 12:56:58PM +0200, Ludovic Courtès wrote: > Hello, > > rocon...@theorem.ca writes: > > > There was an idea tossed around on #nixos a few days ago that > > mkDerivation should remove the nulls from buildInputs (and maybe other > > items too). This would help make more consis

Re: [Nix-dev] Re: Re: [Nix-commits] SVN commit: nix - r24378 - nixos/trunk/modules/security

2010-10-20 Thread Lluís Batlle i Rossell
On Wed, Oct 20, 2010 at 03:42:33PM +0400, Yury G. Kudryashov wrote: > Lluís Batlle i Rossell wrote: > > > On Wed, Oct 20, 2010 at 11:31:16AM +0200, Eelco Dolstra wrote: > >> Can you elaborate on this Glibc bug? > > > >>From what we talked on irc, I imagin

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24378 - nixos/trunk/modules/security

2010-10-20 Thread Lluís Batlle i Rossell
On Wed, Oct 20, 2010 at 11:31:16AM +0200, Eelco Dolstra wrote: > On 10/20/2010 11:29 AM, Michael Raskin wrote: > > > Author: raskin > > Date: Wed Oct 20 09:29:02 2010 > > New Revision: 24378 > > URL: https://svn.nixos.org/websvn/nix/?rev=24378&sc=1 > > > > Log: > > To prevent glibc bug exploitati

Re: [Nix-dev] hgsubversion (and subvertpy) nix-expressions

2010-10-14 Thread Lluís Batlle i Rossell
On Thu, Oct 14, 2010 at 10:39:41AM +0200, Ilya Cassina wrote: > On Thursday 14 October 2010 08:53:16 Lluís Batlle i Rossell wrote: > > Look at top-level/python-packages.nix. I think the buildPythonPackage > > expresion may do all the work you are doing here. > > I will and

Re: [Nix-dev] hgsubversion (and subvertpy) nix-expressions

2010-10-13 Thread Lluís Batlle i Rossell
Hello Ilya, thank you for the packages, but as they are python packages, have you tried using the buildPythonPackage expression? Look at top-level/python-packages.nix. I think the buildPythonPackage expresion may do all the work you are doing here. Regards, Lluís. On Thu, Oct 14, 2010 at 12:12:

Re: [Nix-dev] Re: cron

2010-10-10 Thread Lluís Batlle i Rossell
On Sun, Oct 10, 2010 at 07:41:40PM +0400, Yury G. Kudryashov wrote: > Lluís Batlle i Rossell wrote: > > > On Sun, Oct 10, 2010 at 11:56:23AM +0200, Lluís Batlle i Rossell wrote: > > I decided to make an attempt to improving the situation and commit it. I > > think I did

[Nix-dev] Re: cron

2010-10-10 Thread Lluís Batlle i Rossell
On Sun, Oct 10, 2010 at 11:56:23AM +0200, Lluís Batlle i Rossell wrote: > Hello, > > taking a look at the 'cron' possibilities on nixos, I've seen: > - Vixie cron is enabled always > - Vixie cron cannot reach any sendmail program (it has hardcoded paths to LSB) >

[Nix-dev] cron

2010-10-10 Thread Lluís Batlle i Rossell
Hello, taking a look at the 'cron' possibilities on nixos, I've seen: - Vixie cron is enabled always - Vixie cron cannot reach any sendmail program (it has hardcoded paths to LSB) - Fcron can be enabled - Fcron is built in nixpkgs with "--with-sendmail=/var/setuid-wrappers/sendmail" - My system, t

[Nix-dev] nixpkgs trunk fossil repository

2010-10-09 Thread Lluís Batlle i Rossell
Hello, for you to test fossil for nixpkgs, I cloned the svn nixpkgs trunk into a fossil repository. Cloning it reports this traffic, and the ui shows these statistics: Total network traffic: 1352445 bytes sent, 27752081 bytes received Repository Size:42652672 bytes Compression Ratio:

Re: [Nix-dev] [PATCH] Chromium version updated to 61624, Flash 64bit and 32bit debug versions updated to prerelease 2

2010-10-08 Thread Lluís Batlle i Rossell
Committed. Thank you! On Wed, Oct 06, 2010 at 03:49:47PM +0200, Cillian de Róiste wrote: > Hi, > > I noticed that the download urls for chromium and flashplayer are no > longer available. Patches are attached. I've only tested these on > x86_64. > > Thanks, > goibhniu > ___

Re: [Nix-dev] [PATCH] flashplayer x86_64 version update

2010-10-08 Thread Lluís Batlle i Rossell
Committed. This is the same Ilya sent some days ago, and noone committed it still. On Thu, Oct 07, 2010 at 12:15:27PM +0200, Carles Pagès wrote: > This patch updates the x86_64 flashplayer version. The one in nixpkgs > was removed from adobe servers. > ___

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24072 - nixpkgs/trunk/pkgs/development/libraries/pcre

2010-10-08 Thread Lluís Batlle i Rossell
On Fri, Oct 08, 2010 at 10:58:41AM +0200, Peter Simons wrote: > Hi Lluís, > > > Could you please update stdenv-updates with the final result for that > > expression? > > the pcre expression in stdenv-updates is up-to-date. It's different from > that in trunk, but that difference exists only bec

[Nix-dev] Fwd: Patch darwin-related; please review

2010-10-08 Thread Lluís Batlle i Rossell
Hello, I made this commit and I want to make sure darwin people review it. Let me know if it will not work enough on darwin. Thank you, Lluís. - Forwarded message from =?ISO-8859-1?Q?Llu=EDs_Batlle_ , ?= - Date: Fri, 08 Oct 2010 06:53:35 + From: Lluís Batlle Subject: [Nix-commits]

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24072 - nixpkgs/trunk/pkgs/development/libraries/pcre

2010-10-07 Thread Lluís Batlle i Rossell
Hello Peter, I saw that among all this, you touched the stdenv-updates expression, even with some 'partial merge from trunk'. Could you please update stdenv-updates with the final result for that expression? Thank you, Lluís. On Wed, Oct 06, 2010 at 02:04:52PM +0200, Peter Simons wrote: > Hi Ee

[Nix-dev] Problems with the new nscd

2010-10-07 Thread Lluís Batlle i Rossell
Hello, it looks like the 'nscd' in the latest glibc (that of stdenv-updates, 2.12.1) needs libgcc_s.so.1 to run. It's a gcc file. We build glibc before gcc, with the gcc on bootstrap tools. And we don't want the glibc output to reference the bootstrap tools. For more fun, libgcc_s.so.1 is dynami

Re: [Nix-dev] Re: Gnuplot wxt terminal broken

2010-10-06 Thread Lluís Batlle i Rossell
On Wed, Oct 06, 2010 at 07:02:12PM +0400, Yury G. Kudryashov wrote: > Lluís Batlle i Rossell wrote: > > > On Wed, Oct 06, 2010 at 02:11:12PM +0200, Peter Simons wrote: > >> Hi, > >> gnuplot: symbol lookup error: > >> /nix/store/ggaq9r0ldbi7q

Re: [Nix-dev] Gnuplot wxt terminal broken

2010-10-06 Thread Lluís Batlle i Rossell
On Wed, Oct 06, 2010 at 02:11:12PM +0200, Peter Simons wrote: > Hi, > > when I try to use the wxt terminal in Gnuplot, I get the following error > message: > > $ gnuplot > > G N U P L O T > Version 4.4 patchlevel 0 > last modified March 2010 > System: Li

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24072 - nixpkgs/trunk/pkgs/development/libraries/pcre

2010-10-06 Thread Lluís Batlle i Rossell
On Wed, Oct 06, 2010 at 04:35:42PM +0400, Michael Raskin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/06/2010 04:30 PM, Lluís Batlle i Rossell wrote: > > Sorry again; now I see the patches commited. > > > > I was trusting the letters from &

Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - r24072 - nixpkgs/trunk/pkgs/development/libraries/pcre

2010-10-06 Thread Lluís Batlle i Rossell
Sorry again; now I see the patches commited. I was trusting the letters from "nix-commits", and they are not quite up to date. On Wed, Oct 06, 2010 at 02:04:52PM +0200, Peter Simons wrote: > Hi Eelco, > > > Can't you write it as > > > > configureFlags = '' > > ... old stuff ... > > '

  1   2   3   >