[Nix-dev] mdadm problem

2010-05-14 Thread Yury G. Kudryashov
Hi! After upgrade, I have mdadm printing annoying no arrays found in config file message nearly every second. It seems that the last person who touched mdadm stuff was Nicolas Pierron. Could you please either fix it, or add an option do disable raid?

[Nix-dev] Making ruby19 build.

2010-05-14 Thread David Brown
r18483 disabled ruby19 because of incorrect use of makeOverridable. It's just a copy of the ruby 1.8 (default.nix) expression, with the version changed. I'm not sure what the proper way to do this, but the patch below at least allows ruby19 to be built. Do we want to break Ruby out into

[Nix-dev] getPkgConfig considered harmful

2010-05-14 Thread Andres Loeh
If I understand getPkgConfig correctly, then getPkgConfig A B default will check the configuration file for a key A.B, and if that is not present, for a key B. As a final resort, if neither A.B nor B are set, default is returned. A common use case is to say if getPkgConfig mypackage

[Nix-dev] udev-153

2010-05-14 Thread Yury G. Kudryashov
Hi! I'm going to merge topic/udev-153 branch of git://gitorious.org/+nix- developers/nixpkgs/nixpkgs.git into svn trunk. I had to upgrade polkit and consolekit as well. The current patch is attached. Could you please review the patch and/or test it? P.S. udev-154 came out while I was working

[Nix-dev] setuid-wrappers

2010-05-14 Thread Yury G. Kudryashov
Hi! It seems that I found a nice way to fool packages about suid wrappers. The problem: some packages hardcode paths to their $out/libexec/* suid helpers. My solution: In post-install: mv $out/libexec/helper $out/libexec/.helper.orig echo exec /var/setuid-wrappers/helper $out/libexec/helper

[Nix-dev] nix extension proposal

2010-05-14 Thread Yury G. Kudryashov
Hi! AFAICS, nix supports any string as a key in attr set, but { name = value; } syntax only supports simple strings. What do you think about the following: x = { 'very strange.name' = value; '0.2' = another value; } builtins.attrNames x == [ very strange.name 0.2 ] I know that the same

Re: [Nix-dev] nix extension proposal

2010-05-14 Thread Marc Weber
Excerpts from Yury G. Kudryashov's message of Fri May 14 22:22:32 + 2010: Hi! AFAICS, nix supports any string as a key in attr set, but { name = value; } syntax only supports simple strings. What do you think about the following: x = { 'very strange.name' = value; '0.2' =

[Nix-dev] systemd

2010-05-14 Thread Stefan Buller
Hey, I just discovered the brand new systemd. systemd is a replacement PID 1 with a break in direction from sysvinit worthy of NixOS (IMHO). The blog post^1 introducing systemd goes amazingly in-depth into the reasons for a new approach, and why existing init replacements (upstart in particular -

[Nix-dev] Nix upgrade breaks packageOverrides.

2010-05-14 Thread David Brown
With nix at nix-0.15pre20563, and the config file below in ~/.nixpkgs/config.nix, I am able to install collection-user, and have the collection work. With nix-0.15pre21760, I get an error: error: selector `collection-user' matches no derivations Nothing in the packageOverrides seems to be

Re: [Nix-dev] Nix upgrade breaks packageOverrides.

2010-05-14 Thread David Brown
On Fri, May 14, 2010 at 09:40:42PM -0700, David Brown wrote: With nix at nix-0.15pre20563, and the config file below in ~/.nixpkgs/config.nix, I am able to install collection-user, and have the collection work. With nix-0.15pre21760, I get an error: I have verified that changing only the