Re: [Nix-dev] environment.allowedLicenses ?

2015-01-26 Thread Nathan Bijnens
I also prefer the current approach of meta.license = stdenv.lib.licenses.unfree, in some companies it's not always allowed to use some 'viral' licenses (the opposite case of license.unfree). N. --- nat...@nathan.gs | nathan.gs http://nathan.gs?utm_source=footerutm_medium=emailutm_campaign=n |

Re: [Nix-dev] environment.allowedLicenses ?

2015-01-26 Thread Eelco Dolstra
Hi, On 26/01/15 14:19, Matthias Beyer wrote: On 26-01-2015 14:00:10, Eelco Dolstra wrote: Hm, I have the impression the license checking code is becoming pretty heavy at this point. For instance, what (realistically) is the use case for whitelisting? Whitelisting a non-free license.

Re: [Nix-dev] postfix - generating alias tables in store and some additional changes

2015-01-26 Thread Tim Barbour
At Mon, 26 Jan 2015 09:29:21 +, Marc Weber wrote: Is anybody interested in these? https://github.com/MarcWeber/nixpkgs/commit/1bb2f95c9ab792422a89c11e1f629dcff2cbf322 marc-nixos/postfix Yes, please. Tim ___ nix-dev mailing list

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-26 Thread Peter Jones
Kirill Elagin kirela...@gmail.com writes: Do you use a desktop manager or start your X session manually? The important thing is to make sure that your X server is running on _the same virtual terminal_ your logind session was opened on, otherwise you won’t get permissions to access hardware.

Re: [Nix-dev] environment.allowedLicenses ?

2015-01-26 Thread Nikita Karetnikov
I actually think we should *remove* meta.license entirely (because it doesn't provide useful info to users and tends to be wrong or incomplete anyway), and replace it with attributes that have operational meaning: People who do care about the exact license of a package should use a tool like

[Nix-dev] pulseaudio not reading /etc/pulse/default.pa [Was: pulseaudio broken in 14.12: Daemon already running]

2015-01-26 Thread Peter Jones
Peter Jones mli...@pmade.com writes: Pulseaudio stopped working for me after upgrading to 14.12. It seems that all PA clients start their own server, which eventually fails because the pulseaudio daemon is already running. I believe I've tracked down the root problem. It appears that if you

Re: [Nix-dev] Announcing New Ruby Support

2015-01-26 Thread Domen Kožar
I've opened https://github.com/NixOS/nixpkgs/issues/5985 to address documentation regarding this change. PS: we should also migrate redmine to the new infrastructure: https://github.com/NixOS/nixpkgs/issues/5984 On Thu, Jan 22, 2015 at 9:03 AM, Matthias Beyer m...@beyermatthias.de wrote: Hi,

Re: [Nix-dev] parallel make

2015-01-26 Thread Peter Simons
Hi Michael, I would sometimes [like to] try to build my system with maximum parallel building enabled just to record what breaks this time. yes, it would be great if that were possible. As of today, the only way to enable parallel building for all packages is to override the default for

[Nix-dev] Can recursive attribute sets refer to quoted attributes?

2015-01-26 Thread Peter Simons
Hi, consider the following recursive attribute set: rec { foo.bar = test; } Is there any way to refer to foo.bar within that set? The obvious attempt rec { foo.bar = test; foobar1 = foo.bar; # undefined reference foobar2 = foo.bar;#

[Nix-dev] postfix - generating alias tables in store and some additional changes

2015-01-26 Thread Marc Weber
Is anybody interested in these? https://github.com/MarcWeber/nixpkgs/commit/1bb2f95c9ab792422a89c11e1f629dcff2cbf322 marc-nixos/postfix - use null instead of for some options which means don't set option at all to make it clearer that the option is unset rather than set to which means

Re: [Nix-dev] Pulseaudio broken in 14.12: Daemon already running

2015-01-26 Thread Kirill Elagin
As Benno said this means that most likely something is wrong with your session and you don’t get access to audio devices. What’s strange is that 14.12 uses xorg-server-1.16-* and this should run as user by default and as a result should crash with insufficient permissions to access video devices

Re: [Nix-dev] Can recursive attribute sets refer to quoted attributes?

2015-01-26 Thread Eelco Dolstra
Hi, On 26/01/15 10:55, Peter Simons wrote: consider the following recursive attribute set: rec { foo.bar = test; } Is there any way to refer to foo.bar within that set? No, except by giving the entire set a name, e.g. let attrs = rec { foo.bar = ...; x =

Re: [Nix-dev] Announcing New Ruby Support

2015-01-26 Thread Charles Strahan
Ideally (for me as user) would be to be able to nix-env -iA pkgs.rubyGems.insert arbitrary gem I have some ideas, but I first need to get some patches into Bundler and Rubygems.org. I've opened https://github.com/NixOS/nixpkgs/issues/5985 to address documentation regarding this change.