[Nix-dev] git workflow guide / updated python stuff

2012-07-21 Thread Joachim Schiele
hi, chaoflow, goibhniu and me (qknight) had been working nixpkgs/nixos yesterday. === git workflow guide === i put together* a small guide on how to use git for nix related projects, have a look here: https://nixos.org/wiki/GIT_workflow as usual: it is a wiki, so you are welcome to make

[Nix-dev] reverse dependencies

2012-07-21 Thread Florian Friesdorf
Hi, how do we get all packages using a derivation (e.g. python27) either directly or indirectly? Current failing approach: 1. generate dependency graph with nix-instantiate (see below) 2. query that graph with xmlstarlet It seems that nix-instantiate does this not only for one (x86_64), but

[Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-tree nixos modules

2012-07-21 Thread Michael Raskin
Changed paths: M default.nix M modules/security/sudo.nix Log Message: --- allow out-of-tree nixos modules The environment variable NIXOS_EXTRA_MODULES is now checked to contain a path to a file similar to modules/module-list.nix. This gives the ability to include nixos

Re: [Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-tree nixos modules

2012-07-21 Thread Mathijs Kwik
As I understood, require is for including configuration files (that set options). This new option allows adding modules, leading to new options to configure. On Sat, Jul 21, 2012 at 6:00 PM, Shea Levy s...@shealevy.com wrote: How does the 'require' option not suit this need? On Jul 21,

Re: [Nix-dev] reverse dependencies

2012-07-21 Thread Marc Weber
Excerpts from Florian Friesdorf's message of Sat Jul 21 17:50:55 +0200 2012: how do we get all packages using a derivation (e.g. python27) either directly or indirectly? nix-store has some options. If that's not enough access /nix/var/nix/db/db.sqlite and run your own queries. Or patch

Re: [Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-treenixos modules

2012-07-21 Thread Michael Raskin
This can be useful for modules that are still experimental, or which aren't useful for other nixos users. Of course, this was already possible to do this using a forked nixos tree, but with this functionality, you can just rely on the nixos channel, easing things a lot. Actually, Eelco already

[Nix-dev] Build only kde48 with boost 1.49

2012-07-21 Thread Karn Kallio
Fix the build of kdepim from kde 4.8.4 by using boost 1.49. An earlier related patch build kde47 with boost 1.49 too. From 53893884a4d5f01a5c5d4995646e5b896b0d4276 Mon Sep 17 00:00:00 2001 From: Karn Kallio tierplusplusli...@gmail.com Date: Sat, 21 Jul 2012 15:02:50 -0430 Subject: [PATCH]

Re: [Nix-dev] [Nix-commits] [NixOS/nixos] b609ff: allow out-of-tree nixos modules

2012-07-21 Thread Nicolas Pierron
Hi all, I wrote a bit of documentation to for people who cannot understand NixOS logic. You might find main use case of modules described on https://nixos.org/wiki/NixOS:Modules On Sat, Jul 21, 2012 at 9:25 AM, Mathijs Kwik math...@bluescreen303.nl wrote: Ah :) I did read the sources of

Re: [Nix-dev] [ANN] Guix, functional package management from Guile

2012-07-21 Thread Marc Weber
Why did I miss this mail? I think lot's of us had thoughts like this (at least I had). One of the core features of nix is that its lazy - I guess that's one of the main reason why Eelco didn't just use python/ruby/perl ... So what do you think about how performance would compare? There are

[Nix-dev] security - observing changes - example authorizedKeys

2012-07-21 Thread Marc Weber
I just had a look at the user.name.openssh.authorizedKeys.keys option: - That you can choose adding a section /overriding everything is great problems: - it doesn't get run in the activation phase (?) - Thus you have to restart sshd (which is non obvious without reading code) How to fix?

Re: [Nix-dev] nixos/nixpkgs release tags?

2012-07-21 Thread Nicolas Pierron
Hi, On Sun, Jul 15, 2012 at 5:53 PM, Florian Friesdorf f...@chaoflow.net wrote: On Tue, 12 Jun 2012 17:29:43 -0400, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 12/06/12 17:26, Florian Friesdorf wrote: I have some local changes that are not in a state to be committed yet,

Re: [Nix-dev] security - observing changes - example authorizedKeys

2012-07-21 Thread Eelco Dolstra
Hi, On 21/07/12 22:59, Marc Weber wrote: I just had a look at the user.name.openssh.authorizedKeys.keys option: - That you can choose adding a section /overriding everything is great problems: - it doesn't get run in the activation phase (?) - Thus you have to restart sshd (which