[Nix-dev] Enabling FTRACE in the 3.2/3.3 kernels

2012-04-07 Thread Lluís Batlle i Rossell
Hello, would anyone oppose enabling FTRACE, FUNCTION_TRACER, SCHED_TRACER, and FTRACE_SYSCALLS in the nixos 3.2 and 3.3 kernels? I think this allows some better diagnosis of system activities, without much overhead: This way a CONFIG_FUNCTION_TRACER kernel is slightly larger, but otherwise has

Re: [Nix-dev] Do we need i8042 in initrd?

2012-04-06 Thread Lluís Batlle i Rossell
On Fri, Apr 06, 2012 at 08:24:55PM +0200, Eelco Dolstra wrote: Hi, On 06/04/12 20:20, Peter Simons wrote: the file nixos/modules/system/boot/kernel.nix defines: boot.initrd.kernelModules = [ ... # For usual AT keyboards. i8042 ]; When I

Re: [Nix-dev] [Nix-commits] [NixOS/nix] f2467e: On Linux, pretend we're building on Linux 2.6

2012-04-05 Thread Lluís Batlle i Rossell
On Thu, Apr 05, 2012 at 08:29:18PM +0200, Eelco Dolstra wrote: What happens when our kernel-headers are updated to 3.x? ... ... This change shouldn't have any effect on Linux 2.4 (and I doubt that Nixpkgs still works on 2.4). Aren't the kernel-headers mandating the minimum kernel version

[Nix-dev] groupmod failing in nixos

2012-04-02 Thread Lluís Batlle i Rossell
Hello, our activation script runs 'groupmod --gid num x' for the groups not maching the gid expected by nixos. In my system, this command fails. # grep dovecot2 /etc/group dovecot2:x:45: # LANG=C groupmod --gid 46 dovecot2 groupmod: Cannot determine your user name. (LANG=C is to have the

Re: [Nix-dev] groupmod failing in nixos

2012-04-02 Thread Lluís Batlle i Rossell
On Mon, Apr 02, 2012 at 11:41:32PM +0200, Eelco Dolstra wrote: Hi, On 02/04/12 23:36, Lluís Batlle i Rossell wrote: our activation script runs 'groupmod --gid num x' for the groups not maching the gid expected by nixos. In my system, this command fails. # grep dovecot2 /etc/group

Re: [Nix-dev] Java support in Firefox?

2012-04-01 Thread Lluís Batlle i Rossell
On Sun, Apr 01, 2012 at 09:10:47AM +0200, Peter Simons wrote: Btw, specifically that page you gave *hangs* my firefox, which in this case does not have that update. By crash you mean hang? I also tried to run jbidwatcher, which used to work just fine approx. half a year ago, but now it

Re: [Nix-dev] Java support in Firefox, or java in general

2012-04-01 Thread Lluís Batlle i Rossell
On Sun, Apr 01, 2012 at 10:58:28AM +0200, Lluís Batlle i Rossell wrote: On Sun, Apr 01, 2012 at 09:10:47AM +0200, Peter Simons wrote: Btw, specifically that page you gave *hangs* my firefox, which in this case does not have that update. By crash you mean hang? I also tried to run

Re: [Nix-dev] Java support in Firefox?

2012-03-31 Thread Lluís Batlle i Rossell
On Sat, Mar 31, 2012 at 11:48:07PM +0200, Peter Simons wrote: I enabled jre support for firefox in my ~/.nixpkgs/config.nix file: | { | firefox = { | jre = true; | }; | } However, I it seems like I cannot access any page that use actually Java. The site

Re: [Nix-dev] Java support in Firefox?

2012-03-31 Thread Lluís Batlle i Rossell
Hello again Peter, On Sun, Apr 01, 2012 at 01:43:50AM +0200, Lluís Batlle i Rossell wrote: On Sat, Mar 31, 2012 at 11:48:07PM +0200, Peter Simons wrote: I enabled jre support for firefox in my ~/.nixpkgs/config.nix file: | { | firefox = { | jre = true

Re: [Nix-dev] taskjuggler-2.x

2012-03-29 Thread Lluís Batlle i Rossell
On Thu, Mar 29, 2012 at 09:08:53PM +0400, Yury G. Kudryashov wrote: Hi! Is there anybody using taskjuggler-2.x? What do you think about migrating to taskjuggler-3.x (available as ruby gem)? I stoped using them, because both 2.x and 3.x don't calculate well the schedules I needed. As I was

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33447 - nixpkgs/trunk/pkgs/applications/video/avidemux

2012-03-28 Thread Lluís Batlle i Rossell
On Wed, Mar 28, 2012 at 08:40:43AM +, Mathijs Kwik wrote: Author: mkwik Date: Wed Mar 28 08:40:41 2012 New Revision: 33447 URL: https://nixos.org/websvn/nix/?rev=33447sc=1 Log: avidemux: upgraded to 2.5.6 Thank you! Now it builds. I see that I have not needed avidemux since years...

Re: [Nix-dev] Expressing dependencies on init scripts

2012-03-27 Thread Lluís Batlle i Rossell
On Tue, Mar 27, 2012 at 07:51:45AM -0400, Shea Levy wrote: On 03/27/2012 02:05 AM, Yury G. Kudryashov wrote: because not all impurities are evil (the dependency on /bin/sh is hardly problematic), but that's what I mean by the term. Doesn't ubuntu have 'ash' there? :)

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33445 - in nixpkgs/trunk/pkgs: build-support/usernixos top-level

2012-03-27 Thread Lluís Batlle i Rossell
Hello, On Tue, Mar 27, 2012 at 10:58:15PM +0200, Eelco Dolstra wrote: On 27/03/12 22:33, Lluís Batlle wrote: Log: Adding 'usernixos', where I start a modular kind-of-nixos that can go into nix-env -i profiles, as a container for flexible configuration at the style of nixos, to be

[Nix-dev] build-cores, load limit and boinc

2012-03-25 Thread Lluís Batlle i Rossell
Hello, I could not find a way to run 'boinc' in a multicore machine (which runs cpu-intensive jobs at nice 20) and have nix using more than one core for a build job (the enableParallelBuilding thing). It calls make with '-l4', for my case, and due to boinc, my load is always around 4, and make

Re: [Nix-dev] glib-2.30 merge

2012-03-25 Thread Lluís Batlle i Rossell
On Fri, Mar 23, 2012 at 11:50:59PM +0400, Yury G. Kudryashov wrote: Hi! I'd like to merge glib-2.30-take2 branch to trunk soon. Thus, * Eelco or Rob, could you please provide the list of jobs that fail in glib-230 but don't fail in trunk? * all users, could you please review the changes

Re: [Nix-dev] build-cores, load limit and boinc

2012-03-25 Thread Lluís Batlle i Rossell
On Sun, Mar 25, 2012 at 03:26:27PM +0200, Marc Weber wrote: Hi Lluís, if your load is about 4, why bother? Isn't your cpu utilized well then? Well, my use of 'boinc' is: use whatever cycles there are free in the machine. The limit by load in nix builds make calls, brings that notion to the

Re: [Nix-dev] modutils: remove?

2012-03-25 Thread Lluís Batlle i Rossell
On Sun, Mar 25, 2012 at 09:08:09PM +0400, Yury G. Kudryashov wrote: Hi! NixOS dropped support for 2.4.x kernels a while ago. What do you think about removing modutils? P.S.: I'm working on module-init-tools - kmod migration. Will post details later. Not long ago I was able to

Re: [Nix-dev] NFS patches (idmapd etc)

2012-03-23 Thread Lluís Batlle i Rossell
On Thu, Mar 22, 2012 at 03:20:46PM +0100, Eelco Dolstra wrote: On 22/03/12 14:02, Lluís Batlle i Rossell wrote: It is still broken, right? The test passed for me, but there still seems to be some random race condition (?): http://hydra.nixos.org/build/2315700 In particular

Re: [Nix-dev] NFS patches (idmapd etc)

2012-03-22 Thread Lluís Batlle i Rossell
On Thu, Mar 22, 2012 at 01:59:53PM +0100, Eelco Dolstra wrote: On 21/03/12 12:53, Lluís Batlle i Rossell wrote: I'll commit this, because it will not be worse than how I left all ;) In the future, before committing changes to the NFS support, could you make sure that $ nix-build

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33315 - in nixpkgs/trunk/pkgs: development/libraries/libnfsidmap development/libraries/ti-rpc os-specific/linux/nfs-utils top-level

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 01:03:36AM +0100, Eelco Dolstra wrote: Hi, On 21/03/12 00:17, Lluís Batlle wrote: -{ fetchurl, stdenv, tcpWrapper, utillinux, libcap }: +{ fetchurl, stdenv, tcpWrapper, utillinux, libcap, libtirpc, libevent, libnfsidmap, lvm2, + e2fsprogs }: Could you

Re: [Nix-dev] NFS patches (idmapd etc)

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 12:59:04PM +0100, Lluís Batlle i Rossell wrote: On Wed, Mar 21, 2012 at 12:57:31PM +0100, Rickard Nilsson wrote: Den 2012-03-21 12:53:35 skrev Lluís Batlle i Rossell vi...@viric.name: I'll commit this, because it will not be worse than how I left all ;) Thanks

Re: [Nix-dev] Two SSH pathes

2012-03-21 Thread Lluís Batlle i Rossell
Rickard, I think you should ask commit access to Eelco. :) I'll look at the patches later. On Wed, Mar 21, 2012 at 05:12:11PM +0100, Rickard Nilsson wrote: Hi, I tried using the new reviewboard, but I got a 500 error when creating my review request. So I attach two NixOS patches here, and

[Nix-dev] The fsync issues with nix

2012-03-21 Thread Lluís Batlle i Rossell
Hello, talking with the btrfs people, they are specially aware of a problem related to writing files to disk properly. I think 'nix' does not 'fsync' on every file it writes to the store; does it? in non-chroot, it even isn't nix who puts the files in the store, so... Without fsync, there is no

Re: [Nix-dev] The fsync issues with nix

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 08:21:46PM +0100, Marc Weber wrote: You're asking to do fsync before registering store paths valid, correct? If its not done yet it makes much sense to me. Well, I think there are only two available operations: fsync(int fd) and sync(). One is much faster and less

Re: [Nix-dev] NFS patches (idmapd etc)

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 09:38:42PM +0100, Lluís Batlle i Rossell wrote: On Wed, Mar 21, 2012 at 08:37:12PM +0100, Rickard Nilsson wrote: I've attached two patches, one for nixpkgs and one for nixos, that builds rpcbind and creates an upstart job for it. It also replaces the use of portmap

Re: [Nix-dev] The fsync issues with nix

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 08:58:43PM +0100, Lluís Batlle i Rossell wrote: On Wed, Mar 21, 2012 at 08:39:20PM +0100, Lluís Batlle i Rossell wrote: On Wed, Mar 21, 2012 at 08:21:46PM +0100, Marc Weber wrote: You're asking to do fsync before registering store paths valid, correct

[Nix-dev] umask and rebuild switch

2012-03-21 Thread Lluís Batlle i Rossell
Hello, I screwed quite enough things today... I was running a root shell with umask 200, and I typed: nixos-rebuild switch That made all my /var/setuid-wrappers with bad permissions for the .real files, namely 600, and things like sendmail (owned by nobody) couldn't read the '.real' file, and

Re: [Nix-dev] umask and rebuild switch

2012-03-21 Thread Lluís Batlle i Rossell
On Thu, Mar 22, 2012 at 12:31:54AM +0100, Lluís Batlle i Rossell wrote: Hello, I screwed quite enough things today... I was running a root shell with umask 200, and I typed: nixos-rebuild switch That made all my /var/setuid-wrappers with bad permissions for the .real files, namely 600

Re: [Nix-dev] NFS patches (idmapd etc)

2012-03-21 Thread Lluís Batlle i Rossell
On Wed, Mar 21, 2012 at 11:26:25PM +0100, Rickard Nilsson wrote: Do you run idmapd on both the client and the server, with the same domain setting? Can you see any error messages from idmapd in either /var/log/upstart/idmapd or /var/log/messages? It is possible to set a verbosity value in

Re: [Nix-dev] [PATCH] Fix grip compilation

2012-03-18 Thread Lluís Batlle i Rossell
On Sun, Mar 18, 2012 at 10:54:02AM +0200, Ilja Honkonen wrote: Hello The attached patch fixes compilation of grip for me (http://yellowgrass.org/issue/Nixpkgs/121 and also when the store is under $HOME). Committed. Thank you! ___ nix-dev mailing

Re: [Nix-dev] libtirpc

2012-03-16 Thread Lluís Batlle i Rossell
On Fri, Mar 16, 2012 at 09:18:51PM +0400, Yury G. Kudryashov wrote: Hi! There are two versions of libtirpc in nixpkgs: development/libraries/libtirpc and development/libraries/ti-rpc. all-packages.nix calls the second one. BTW, nothing uses pkgs.libtirpc. Why do we need it? That may

Re: [Nix-dev] libreoffice warning

2012-03-16 Thread Lluís Batlle i Rossell
On Fri, Mar 16, 2012 at 11:52:08PM +0400, Yury G. Kudryashov wrote: Hi! When I start $libreoffice/bin/soffice from console, I get javaldx: Could not find a Java Runtime Environment! Warning: failed to read path from javaldx Then it shows GUI and works OK. Any ideas what does it mean,

Re: [Nix-dev] Mesa (was: SVN commit: nix - r33051 - in nixpkgs/trunk/pkgs: development/libraries/wxGTK-2.8 top-level)

2012-03-14 Thread Lluís Batlle i Rossell
On Tue, Mar 13, 2012 at 11:43:26PM +0100, Peter Simons wrote: --- nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Mar 13 21:48:12 2012(r33050) +++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Tue Mar 13 21:54:17 2012(r33051) @@ -766,6 +766,7 @@ gnuplot =

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r33000 - in nixos/trunk/modules: . system/boot

2012-03-11 Thread Lluís Batlle i Rossell
On Sun, Mar 11, 2012 at 11:25:24PM +0100, Eelco Dolstra wrote: On 11/03/12 22:56, Lluís Batlle wrote: Author: viric Date: Sun Mar 11 21:56:47 2012 New Revision: 33000 URL: https://nixos.org/websvn/nix/?rev=33000sc=1 Log: A more friendly stage1, with interactive bash, busybox

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32999 - nixos/trunk/modules/system/boot

2012-03-11 Thread Lluís Batlle i Rossell
On Sun, Mar 11, 2012 at 11:29:44PM +0100, Eelco Dolstra wrote: On 11/03/12 22:50, Lluís Batlle wrote: bootStage2 = pkgs.substituteAll { src = ./stage-2-init.sh; +shell = ${pkgs.bashInteractive}/bin/bash; The stage 2 shell should not be interactive. The debug shell is a

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32999 - nixos/trunk/modules/system/boot

2012-03-11 Thread Lluís Batlle i Rossell
On Sun, Mar 11, 2012 at 11:36:02PM +0100, Eelco Dolstra wrote: On 11/03/12 23:31, Lluís Batlle i Rossell wrote: On Sun, Mar 11, 2012 at 11:29:44PM +0100, Eelco Dolstra wrote: On 11/03/12 22:50, Lluís Batlle wrote: bootStage2 = pkgs.substituteAll { src = ./stage-2-init.sh

Re: [Nix-dev] Ghostscript versions.

2012-03-09 Thread Lluís Batlle i Rossell
On Thu, Mar 08, 2012 at 11:37:55PM +0100, Lluís Batlle i Rossell wrote: We still have in nixpkgs GNU Ghostscript by default, instead of GPL Ghostscript. For what people at #ghostscript (ghostscript.com) told me, Artifex releases GPL Ghostscript. Then, with delay, GNU people take that code

Re: [Nix-dev] Ghostscript versions.

2012-03-09 Thread Lluís Batlle i Rossell
On Fri, Mar 09, 2012 at 03:30:55PM +0100, Ludovic Courtès wrote: Lluís Batlle i Rossell vi...@viric.name skribis: On Thu, Mar 08, 2012 at 11:37:55PM +0100, Lluís Batlle i Rossell wrote: We still have in nixpkgs GNU Ghostscript by default, instead of GPL Ghostscript. For what people

Re: [Nix-dev] Ghostscript versions.

2012-03-09 Thread Lluís Batlle i Rossell
On Fri, Mar 09, 2012 at 04:00:21PM +0100, Lluís Batlle i Rossell wrote: On Fri, Mar 09, 2012 at 03:30:55PM +0100, Ludovic Courtès wrote: Lluís Batlle i Rossell vi...@viric.name skribis: On Thu, Mar 08, 2012 at 11:37:55PM +0100, Lluís Batlle i Rossell wrote: We still have in nixpkgs GNU

Re: [Nix-dev] Ghostscript versions.

2012-03-09 Thread Lluís Batlle i Rossell
On Fri, Mar 09, 2012 at 04:48:06PM +0100, Eelco Dolstra wrote: Hi, On 09/03/12 12:00, Lluís Batlle i Rossell wrote: So, I take the silence as a change the default gs to gpl? :) Your change broke ImageMagick (and probably other applications linking against libgs.so), which now segfaults

Re: [Nix-dev] Fwd: Nixpkgs stdenv upgrade

2012-03-08 Thread Lluís Batlle i Rossell
On Thu, Mar 08, 2012 at 03:01:43PM +0100, Ludovic Courtès wrote: Hi, jack-...@mudshark.org skribis: In building libelf, I get a crash: nix/h3mnwa34rk4znh8wdfg6y4q6famlzj38-glibc-2.13/bin/gencat de.cat de.msg make[1]: *** [de.cat] Segmentation fault The binary in question is

Re: [Nix-dev] GFortran 4.6 spec broken?

2012-03-08 Thread Lluís Batlle i Rossell
You can see what do our wrappers, with NIX_DEBUG=1. They don't add the -l gfortran or -l m. I don't know where the 'Driving' thing comes from. On Thu, Mar 08, 2012 at 06:13:55PM +0100, Ludovic Courtès wrote: Hello! Suppose ‘t.f’ that contains this: --8---cut

[Nix-dev] Ghostscript versions.

2012-03-08 Thread Lluís Batlle i Rossell
We still have in nixpkgs GNU Ghostscript by default, instead of GPL Ghostscript. For what people at #ghostscript (ghostscript.com) told me, Artifex releases GPL Ghostscript. Then, with delay, GNU people take that code, removes all references to Artifex, and releases the same under the name GNU

Re: [Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Lluís Batlle i Rossell
On Wed, Mar 07, 2012 at 09:13:45AM +0100, Mathijs Kwik wrote: Then I saw this commit come along [1]. Indeed the only difference I can think of between these machines are the kernel version and the hardware itself. As nss doesn't depend on the kernel, its store path ends up the same, but

Re: [Nix-dev] best process for building from source under development?

2012-03-04 Thread Lluís Batlle i Rossell
On Sun, Mar 04, 2012 at 06:48:25AM +0100, Florian Friesdorf wrote: On Sat, 3 Mar 2012 14:39:26 -0800, Corey O'Connor coreyocon...@gmail.com wrote: 2012/3/3 Lluís Batlle i Rossell vi...@viric.name: No no. You need the webEnv in packageOverrides, better. Then nix-env -qa will see

Re: [Nix-dev] chrome broken by libpng upgrade

2012-03-04 Thread Lluís Batlle i Rossell
On Sun, Mar 04, 2012 at 10:49:58PM +0100, Mathijs Kwik wrote: /nix/store/iczjj9rwgp91nqkykpb0gi3khiw4xf99-chromium-18.0.975.0-pre114925/libexec/chrome/chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory Anyway, switching

Re: [Nix-dev] comments on -r 31148 zshprofile to load /etc/profile while emulating bash

2012-03-03 Thread Lluís Batlle i Rossell
My five cents, On Sat, Mar 03, 2012 at 03:05:18AM +0100, Marc Weber wrote: This patch implements - moves the code enabling completion into a /etc/zsh-user-system-default.zsh and /etc/bash-user-system-default.sh files which are put into ~/.bashrc and ~/.zshrc by skeleton files

[Nix-dev] luks changes

2012-03-03 Thread Lluís Batlle i Rossell
Hello people using luksRoot... I changed that a bit on nixos, I hope that for the better. I used it to get a ciphered swap that works for hibernation. If you had: boot.initrd.luksRoot = /dev/sda2; Then now you have to write: boot.initrd.luks.enable = true; boot.initrd.luks.devices = [ { name =

Re: [Nix-dev] best process for building from source under development?

2012-03-03 Thread Lluís Batlle i Rossell
On Sat, Mar 03, 2012 at 09:51:46AM -0800, Corey O'Connor wrote: That was exactly what I needed! Thanks! I did not know something basic: How to add the the dev-env to the user profile. The process I found that worked was to run $ nix-env -iA nixpkgs_sys.config.webEnv No no. You need the

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-29 Thread Lluís Batlle i Rossell
On Wed, Feb 29, 2012 at 09:38:59AM +0100, Lluís Batlle i Rossell wrote: How can it be that btrfs alone does not work then? (I've not investigated this though) # modprobe --show-depends btrfs insmod /nix/store/xqzg0icd5qgmqs70w0xga2c9r1rxik8i-kernel-modules/lib/modules/3.2.7/kernel/lib

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-29 Thread Lluís Batlle i Rossell
On Wed, Feb 29, 2012 at 10:46:49AM +0100, Lluís Batlle i Rossell wrote: On Wed, Feb 29, 2012 at 09:38:59AM +0100, Lluís Batlle i Rossell wrote: How can it be that btrfs alone does not work then? (I've not investigated this though) # modprobe --show-depends btrfs insmod /nix/store

Re: [Nix-dev] [PATCHES] vsftpd and filesystems

2012-02-28 Thread Lluís Batlle i Rossell
On Tue, Feb 28, 2012 at 10:41:28PM +, Bryce L Nordgren wrote: On Sat, Feb 25, 2012 at 7:33 PM, Bryce L Nordgren bnordg...@gmail.comwrote: Can you give it a try and report back here (don't forget to cc nix-dev)? The patch didn't work as it stood. The modprobe line immediately before

Re: [Nix-dev] Merging the stdenv branch

2012-02-26 Thread Lluís Batlle i Rossell
On Thu, Feb 23, 2012 at 04:05:58PM +0100, Lluís Batlle i Rossell wrote: On Tue, Feb 21, 2012 at 02:06:44PM +0100, Eelco Dolstra wrote: I would like to merge the stdenv branch soon. The main changes are that GCC is updated to 4.6 and Glibc is updated to 2.13. There are a number

Re: [Nix-dev] Merging the stdenv branch

2012-02-23 Thread Lluís Batlle i Rossell
On Tue, Feb 21, 2012 at 02:06:44PM +0100, Eelco Dolstra wrote: I would like to merge the stdenv branch soon. The main changes are that GCC is updated to 4.6 and Glibc is updated to 2.13. There are a number of packages that are still broken in the branch (compared to the trunk). Here is a

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32516 - nixpkgs/trunk/pkgs/applications/networking/irc/xchat

2012-02-23 Thread Lluís Batlle i Rossell
On Thu, Feb 23, 2012 at 05:56:53PM +, Peter Simons wrote: Author: simons Date: Thu Feb 23 17:56:52 2012 New Revision: 32516 URL: https://nixos.org/websvn/nix/?rev=32516sc=1 Log: xchat: fixed trivial syntax error Ouch. No wonder hydra wasn't showing xchat :)

Re: [Nix-dev] include ncursesw properly

2012-02-22 Thread Lluís Batlle i Rossell
On Wed, Feb 22, 2012 at 04:18:21PM +0400, Sergey Mironov wrote: #include ncursesw/curses.h Basically, it couldn't find this header. I've added ${ncurses}/include to the C_INCLUDE_PATH in my dev environment, but it didn't help. Actually, ${ncurses}/include hasn't got ncursesw folder

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32444 - nixpkgs/trunk/pkgs/tools/typesetting/tex/texlive

2012-02-21 Thread Lluís Batlle i Rossell
On Tue, Feb 21, 2012 at 09:01:58AM +, Arie Middelkoop wrote: Author: amiddelk Date: Tue Feb 21 09:01:56 2012 New Revision: 32444 URL: https://nixos.org/websvn/nix/?rev=32444sc=1 Log: Updated the hash of texlive's 'moderncv.zip'. Apparently the file gets updated once in a while. It

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

2012-02-21 Thread Lluís Batlle i Rossell
On Sun, Feb 05, 2012 at 09:26:16AM +, Yury G. Kudryashov wrote: Author: urkud Date: Sun Feb 5 09:26:15 2012 New Revision: 32039 URL: https://nixos.org/websvn/nix/?rev=32039sc=1 Log: qhull-2012.1 Hello Yury, when you updated this qhull... did you notice that octave stopped using

Re: [Nix-dev] [PATCH] bullet 2.78

2012-02-19 Thread Lluís Batlle i Rossell
On Tue, Feb 14, 2012 at 09:54:48PM +0100, Alexander Foremny wrote: I seem to have forgotten to actually attach the file. The file is given below. Committed. Late, but committed. Thank you! Am 4. Februar 2012 15:24 schrieb Alexander Foremny alexanderfore...@googlemail.com: Hello,

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32346 - in nixpkgs/trunk/pkgs: development/libraries/vigra top-level

2012-02-17 Thread Lluís Batlle i Rossell
On Fri, Feb 17, 2012 at 01:03:41PM +, Yury G. Kudryashov wrote: Author: urkud Date: Fri Feb 17 13:03:41 2012 New Revision: 32346 URL: https://nixos.org/websvn/nix/?rev=32346sc=1 Log: vigra-1.8.0 Hydra says that it fails to build. Can you make the update work? :) Thank you, Lluís

[Nix-dev] Java, and browse(), Dekstop not supported

2012-02-16 Thread Lluís Batlle i Rossell
Hello, a java program tells me Desktop is not supported, on a DesktopUtils.browse() call, with the current nixpkgs jre. I've found this blog entry: https://lorenzod8n.wordpress.com/2007/05/12/desktop-integration-in-java-6/ But I don't have any ~/.gconf. The user runs KDE here. Does anybody

Re: [Nix-dev] logrotate

2012-02-15 Thread Lluís Batlle i Rossell
On Wed, Feb 15, 2012 at 07:46:47AM +0100, Mathijs Kwik wrote: I enabled services.logrotate, but I found it comes with an empty config. Can someone please share his config? I'm lazy :) Perhaps we can come up with a nice default config that's suitable for most people? Ehm. I'm guilty I think.

Re: [Nix-dev] [PATCH] cifs-utils 5.3

2012-02-15 Thread Lluís Batlle i Rossell
On Mon, Feb 13, 2012 at 12:13:41PM +0100, Rickard Nilsson wrote: Here is a patch that upgrades cifs-utils from 4.5 to 5.3. I needed the newer version because there was some bug with credential files in the old version. Also I have activated some cifs modules in the kernel config for the

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r32228 - nixos/trunk/modules/tasks

2012-02-15 Thread Lluís Batlle i Rossell
On Wed, Feb 15, 2012 at 03:21:13PM +0100, Eelco Dolstra wrote: Hi, On 11/02/12 22:11, Lluís Batlle wrote: Log: Adding extra options for resolv.conf ... +networking.extraResolvConf = mkOption { This option isn't used anywhere. Incomplete commit? BTW, since resolv.conf is

Re: [Nix-dev] Hardcoding /var/run/current-system in nixpkgs

2012-02-13 Thread Lluís Batlle i Rossell
On Mon, Feb 13, 2012 at 09:29:30PM +0100, Vladimír Čunát wrote: On 02/13/2012 08:45 PM, Michael Raskin wrote: Currently quite a few packages in nixpkgs have /var/run/current-system/sw and/or /var/setuid-wrappers hardcoded. Why is it better than having /usr? Although suboptimal, it is better

Re: [Nix-dev] Halting from kde, or exiting session

2012-02-08 Thread Lluís Batlle i Rossell
On Wed, Feb 08, 2012 at 02:02:54PM +0400, Yury G. Kudryashov wrote: Arie Middelkoop wrote: I have a similar problem for a while. Shutdown, reboot or exit just gives a black screen for several seconds and then jumps back to KDM (via KDM I can shutdown or reboot my machine). Your

[Nix-dev] ffmpeg defaults

2012-02-08 Thread Lluís Batlle i Rossell
Hello, I see that the default ffmpeg is built without vorbis and xvid,, but with theora and vpx. Shouldn't we better enable them? Anyone against? Regards, Lluís ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] ffmpeg defaults

2012-02-08 Thread Lluís Batlle i Rossell
understands xvid, and I'd get benefit from xvid encoding there. So I think I'll enable those. Regards, Lluís. 2012/2/8 Lluís Batlle i Rossell vi...@viric.name: Hello, I see that the default ffmpeg is built without vorbis and xvid,, but with theora and vpx. Shouldn't we better enable them

Re: [Nix-dev] ffmpeg defaults

2012-02-08 Thread Lluís Batlle i Rossell
On Wed, Feb 08, 2012 at 09:28:29PM +0100, Mathijs Kwik wrote: On Wed, Feb 8, 2012 at 9:05 PM, Eelco Dolstra e.dols...@tudelft.nl wrote: In order to prevent dependency bloat we really shouldn't enable every external codec supported by ffmpeg, especially when it has builtin support...  I

[Nix-dev] Halting from kde, or exiting session

2012-02-07 Thread Lluís Batlle i Rossell
Hello, since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? Regards, Lluís. ___ nix-dev mailing list

Re: [Nix-dev] Halting from kde, or exiting session

2012-02-07 Thread Lluís Batlle i Rossell
On Tue, Feb 07, 2012 at 11:22:19PM +0100, Lluís Batlle i Rossell wrote: Hello, since some recent update, the KDE we have does not halt anymore. Clicks to shutdown, reboot, exit, ... none work. They don't do anything beyond hiding back the menu. Any advice? rm ~/.kde/share/config

Re: [Nix-dev] Selecting a version of postgresql

2012-02-03 Thread Lluís Batlle i Rossell
On Fri, Feb 03, 2012 at 12:44:00AM +, Bryce L Nordgren wrote: So did I miss something here? What is the recommended method of specifying a different version for a system service? Maybe it was built already, because it was a dependency of something in your previous builds. Check

Re: [Nix-dev] Nix(OS) on upcoming sprints/events

2012-02-02 Thread Lluís Batlle i Rossell
On Thu, Feb 02, 2012 at 11:50:18AM +0100, Ludovic Courtès wrote: In my experience train has always been the place where I’m the most productive at hacking. I wish I would travel all day long. ;-) Same here, if traveling *alone enough*. :) ___

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r31934 - in nixpkgs/trunk/pkgs: tools/system/hardlink top-level

2012-01-31 Thread Lluís Batlle i Rossell
On Tue, Jan 31, 2012 at 11:15:36AM +0100, Eelco Dolstra wrote: Hi, On 31/01/12 08:51, Yury G. Kudryashov wrote: IHMO, this program should be run by the default builder after $out has been set up, to remove redundancy in the generated closures. No, Nix should do that after the build

Re: [Nix-dev] nix unpack

2012-01-29 Thread Lluís Batlle i Rossell
On Sun, Jan 29, 2012 at 04:13:23AM +0400, Sergey Mironov wrote: Hi! Have we got a tool/script which can download derivation's tarball into current directory (and unpack it)? Basically, I wish I have a tool wich does what 'cabal unpack' does for haskell world.. tar xf `nix-build --no-out-link

Re: [Nix-dev] problem with binary-only game

2012-01-28 Thread Lluís Batlle i Rossell
On Sat, Jan 28, 2012 at 10:46:15PM +0100, Mathijs Kwik wrote: $ ./AndYetItMoves ./AndYetItMoves: line 21: ./lib/AndYetItMoves: No such file or directory It's the dynamic loader set in the file that can't be found. readelf -d file That will report you, among others, the dynamic path hardcoded

Re: [Nix-dev] defaultLocale

2012-01-20 Thread Lluís Batlle i Rossell
On Fri, Jan 20, 2012 at 02:39:37PM +0100, Florian Friesdorf wrote: On Fri, 20 Jan 2012 13:30:44 +0100, Mathijs Kwik math...@bluescreen303.nl wrote: I do however get strange warnings (not errors) sometimes that certain apps fall back to the 'C' locale. Other than that, it's good. On

Re: [Nix-dev] Making stdenv/setup.sh more verbose

2012-01-20 Thread Lluís Batlle i Rossell
On Fri, Jan 20, 2012 at 06:00:36PM +0400, Yury G. Kudryashov wrote: Eelco Dolstra wrote: +mkdir -pv $out/bin +cp -v $@ $out/bin This actually made me wonder why we have an installBin function in stdenv. It doesn't appear to be used anywhere in Nixpkgs... Then we can remove

Re: [Nix-dev] Making stdenv/setup.sh more verbose

2012-01-20 Thread Lluís Batlle i Rossell
On Fri, Jan 20, 2012 at 03:16:21PM +0100, Florian Friesdorf wrote: The compile itself is also rather noisy. Can we: a) generate as much output as possible b) catch the output and toggle it by category beyond stdout/stderr I don't mind about the compile. In fact I found very helpful to know the

Re: [Nix-dev] Dropping --with-gallium-drivers=i965 from mesa (was: Experiences with Nvidia Optimus?)

2012-01-20 Thread Lluís Batlle i Rossell
On Fri, Jan 20, 2012 at 09:39:56PM +0100, Mathijs Kwik wrote: On Fri, Jan 20, 2012 at 7:17 PM, Peter Simons sim...@cryp.to wrote: Hi guys,   In a recent mesa upgrade, someone enabled the experimental gallium3d   driver for our i965-based cards. [...] Intel's open-source driver has  

Re: [Nix-dev] fonts: subpixel rendering

2012-01-17 Thread Lluís Batlle i Rossell
On Tue, Jan 17, 2012 at 10:12:09PM +0400, Sergey Mironov wrote: Hello. Has anybody tried to enable subpixel hinting in fontconfig? Looks like placing match target=font edit name=rgba mode=assign constrgb/const /edit /match

Re: [Nix-dev] [nix-dev] svn sasl support

2012-01-15 Thread Lluís Batlle i Rossell
On Mon, Jan 16, 2012 at 01:06:33AM +0400, Sergey Mironov wrote: What should I write to override this setting? Could you please give me an example (sorry, my nix-skill is still weak)? Or maybe should we write something like this: subversion = callPackage

Re: [Nix-dev] texlive-core and texlive-extra

2012-01-12 Thread Lluís Batlle i Rossell
On Thu, Jan 12, 2012 at 11:09:13PM +0100, Mathijs Kwik wrote: Hi all, I don't know a lot about tex/latex/texlive, but I'm trying to learn a bit. I need something called wrapfig.sty (emacs org-mode uses it). After some searching, I found it's part of texLiveExtra. However, when trying to

Re: [Nix-dev] [nix-dev] chrome java plugin

2012-01-11 Thread Lluís Batlle i Rossell
On Thu, Jan 12, 2012 at 01:21:13AM +0400, Sergey Mironov wrote: Hello! Has anyone tried the subj? I don't see any java-related option in chrome's nix file. Does it means that this is not implemented? What about firefox? It is there, in firefox. Set 'firefox.jre = true' in your nixpkgs config.

Re: [Nix-dev] Bump tmux version

2012-01-10 Thread Lluís Batlle i Rossell
On Mon, Jan 09, 2012 at 08:20:04PM -0800, Phil Hagelberg wrote: Hello. I've noticed tmux 1.3 has a number of annoying bugs that seem to be fixed in 1.5. I've attached a patch that bumps the version number and updates the hash. I've just started using nix, so apologies if this isn't how

Re: [Nix-dev] Deprecated packages

2012-01-07 Thread Lluís Batlle i Rossell
On Sun, Jan 08, 2012 at 01:00:20AM +0400, Yury G. Kudryashov wrote: Lluís Batlle i Rossell wrote: What is that trinity project about, that it is related to the qt3 programs in nixpkgs? Look at their homepage. Why we want to get rid of qt3? E.g., it fails to build against libpng-1.5

Re: [Nix-dev] /proc/config.gz does not exist

2012-01-06 Thread Lluís Batlle i Rossell
On Fri, Jan 06, 2012 at 10:09:32PM +0300, Sergey Mironov wrote: Hi. /proc/config.gz does not exist on my filesystem. I am using now-default 2.6.35.14 kernel, and I've checked the pkgs/os-specific/linux/kernel/linux-2.6.35.nix - IKCONFIG_PROC is enabled. What is wrong then? modprobe configs

Re: [Nix-dev] development/libraries too large

2012-01-06 Thread Lluís Batlle i Rossell
On Sat, Jan 07, 2012 at 01:35:14AM +0400, Yury G. Kudryashov wrote: Hi! I'd like to split development/libraries into subdirectories. Any objections? Some possible subdirectories: * multimedia (audio, video) * network * security * graphics * GUI * filesystem Too large for what?

Re: [Nix-dev] development/libraries too large

2012-01-06 Thread Lluís Batlle i Rossell
On Sat, Jan 07, 2012 at 03:20:06AM +0400, Yury G. Kudryashov wrote: Clark Gaebel wrote: ls -h | grep 'package' What's wrong with that? Nothing wrong if you want to find a package and you know the name of this package. In this case we can put all packages (not only libraries) into one

Re: [Nix-dev] NixOS name used by other projects

2012-01-06 Thread Lluís Batlle i Rossell
On Sat, Jan 07, 2012 at 02:54:58AM +0300, Alexander Tsamutali wrote: Hi, the only true NixOS! We already saw an interesting project using the same name as our beloved distribution (http://nixos.fr). Now I found http://code.google.com/p/nix-os/ . Wondering why these people didn't google

Re: [Nix-dev] Package: tabbed

2012-01-05 Thread Lluís Batlle i Rossell
On Thu, Jan 05, 2012 at 01:49:19AM +0100, Alexander Foremny wrote: Hello. I am trying to create a package for tabbed [1] and I am wondering how to handle configuration. To the best of my knowledge tabbed can solely be configured by editing `config.h.def' prior to compilation. I thought it

Re: [Nix-dev] elisp compilation broken in hledger (was: SVN commit: nix - r31252 - nixpkgs/trunk/pkgs/applications/editors/emacs-23)

2012-01-05 Thread Lluís Batlle i Rossell
On Thu, Jan 05, 2012 at 10:05:46AM +0100, Florian Friesdorf wrote: What was the fix? grepping commit log for cscope/hledger failed for me. r31261 ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] [PATCH] Add a package with DICT-formatted wiktionary.

2012-01-04 Thread Lluís Batlle i Rossell
Hello, On Wed, Jan 04, 2012 at 08:10:53PM +0100, Petr Rockai wrote: Peter Simons sim...@cryp.to writes: that patch is rather large (26KB). I don't know much about dictd, so please bear with me if this is a stupid question, but why does this python script have to be checked into Nixpkgs?

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Lluís Batlle i Rossell
On Tue, Jan 03, 2012 at 03:32:11PM +, Sander van der Burg wrote: Why is this personal bin directory needed? I don't see the point actually. I mean users in NixOS have their own private Nix profile to install their binaries in, right? I have there scripts based on #!/bin/sh. And also

Re: [Nix-dev] ~/bin in PATH if exists

2012-01-03 Thread Lluís Batlle i Rossell
plan to, unless they stop working. :) From: Lluís Batlle i Rossell [vi...@viric.name] Sent: Tuesday, January 03, 2012 4:47 PM To: Sander van der Burg - EWI Cc: Florian Friesdorf; nix-dev@lists.science.uu.nl; sim...@cryp.to Subject: Re: [Nix-dev] ~/bin

Re: [Nix-dev] ./configure make make install

2012-01-03 Thread Lluís Batlle i Rossell
On Tue, Jan 03, 2012 at 08:39:37PM +0400, Sergey Mironov wrote: Hi. Another beginner question. I have realized that good old unpack-the-tarball ./configure make make install doesn't work in nixos because of missing /usr/include and /usr/lib. But how to organize the process of software

[Nix-dev] Latest nix, web links

2012-01-03 Thread Lluís Batlle i Rossell
Hello, going to http://nixos.org/nix/download.html and The latest development release of Nix goes to a page without results: http://hydra.nixos.org/view/nix/trunk/latest Error I'm very sorry, but the following error(s) occurred: This view set has no successful results yet. I wanted a

Re: [Nix-dev] nix-copy-closure error

2012-01-02 Thread Lluís Batlle i Rossell
On Mon, Jan 02, 2012 at 12:19:47PM +0100, Rickard Nilsson wrote: I discovered that the path in question actually had been corrupted on the source host. Now, how can I repair it? Since it is the active Linux kernel, I can't remove the path. Rather, I want to force a rebuild and reinstallation

Re: [Nix-dev] [PATCH] NFSv4 support

2012-01-01 Thread Lluís Batlle i Rossell
On Sun, Jan 01, 2012 at 08:03:58PM +0100, Rickard Nilsson wrote: Den 2011-12-30 17:36:00 skrev Marc Weber marco-owe...@gmx.de: Shouldn't we keep portmap? Maybe we can have an option choosing what rpc mechanism nixos should use. But I prefer keeping portmap. Can those who know the

Re: [Nix-dev] systemd on nixos

2011-12-31 Thread Lluís Batlle i Rossell
On Sat, Dec 31, 2011 at 08:58:44PM +0400, Yury G. Kudryashov wrote: Lluís Batlle i Rossell wrote: On Sat, Dec 31, 2011 at 08:21:37PM +0400, Yury G. Kudryashov wrote: Florian Friesdorf wrote: Has anybody investigated/thought about/worked on systemd[1] for nixos already? I

<    1   2   3   4   5   >