Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Florian Friesdorf
On Thu, 26 Jul 2012 22:31:48 +0200, Mathijs Kwik math...@bluescreen303.nl wrote: Hi all, I'm not familiar with python packaging and module lookup, so I hope someone can help here. I'm trying to add support for xattrs and acls to bup. I packaged pyxattr and pylibacl. They build fine and

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Mathijs Kwik
Hi Florian, I used buildPythonPackage for the 2 modules (xattr and acl). Bup itself is not a python package by itself (I think), so I gave that a normal package, and just wrapped the (only) binary with PYTHONPATH prefixes, as I've seen in other packages in the nixpkgs too. Please have a look

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Florian Friesdorf
Hi Mathijs, On Fri, 27 Jul 2012 09:06:44 +0200, Mathijs Kwik math...@bluescreen303.nl wrote: Hi Florian, I used buildPythonPackage for the 2 modules (xattr and acl). Bup itself is not a python package by itself (I think), so I gave that a normal package, and just wrapped the (only) binary

Re: [Nix-dev] (sudo (-H)) nix-collect-garbage

2012-07-27 Thread Florian Friesdorf
On Mon, 02 Jul 2012 10:39:03 -0400, Eelco Dolstra eelco.dols...@logicblox.com wrote: Hi, On 02/07/12 10:09, Florian Friesdorf wrote: can somebody explain me what is going on here? Summary: - garbage collect as user - rerun garbage collect as user - nothing to do - sudo garbage

Re: [Nix-dev] (sudo (-H)) nix-collect-garbage

2012-07-27 Thread Marc Weber
Hi Florian, before we start propagating any env vars can you make me understand why a user have a different value than root? If does this happen intenionally? Would exporting NIX_CONF_DIR in profile.sh (nixos repo) be an alternative? If so why is your solution better? Marc Weber

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Mathijs Kwik
That's strange then :) I disabled the test too, but the problem remains. Just to be clear, it's a warning, not an error: % bup meta Warning: Linux xattr support missing; install python-pyxattr. Warning: POSIX ACL support missing; install python-pylibacl. usage: bup meta --create [OPTION ...]

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Cillian de Róiste
On Fri, Jul 27, 2012 at 1:42 PM, Florian Friesdorf f...@chaoflow.net wrote: On Fri, 27 Jul 2012 13:29:03 +0200, Mathijs Kwik math...@bluescreen303.nl wrote: That's strange then :) I disabled the test too, but the problem remains. Just to be clear, it's a warning, not an error: % bup meta

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Florian Friesdorf
On Fri, 27 Jul 2012 14:32:47 +0200, Cillian de Róiste cillian.deroi...@gmail.com wrote: On Fri, Jul 27, 2012 at 1:42 PM, Florian Friesdorf f...@chaoflow.net wrote: On Fri, 27 Jul 2012 13:29:03 +0200, Mathijs Kwik math...@bluescreen303.nl wrote: That's strange then :) I disabled the

Re: [Nix-dev] (sudo (-H)) nix-collect-garbage

2012-07-27 Thread Florian Friesdorf
Hi Marc, On Fri, 27 Jul 2012 12:41:48 +0200, Marc Weber marco-owe...@gmx.de wrote: Hi Florian, before we start propagating any env vars can you make me understand why a user have a different value than root? If does this happen intenionally? Would exporting NIX_CONF_DIR in profile.sh

Re: [Nix-dev] Nix Policy Documentation

2012-07-27 Thread Florian Friesdorf
Hi Shea, first of all: thank you very much for getting this started! On Tue, 3 Jul 2012 09:13:31 -0400, Shea Levy s...@shealevy.com wrote: So now to my first two questions: 1. Does anyone have any suggestions for other policy documents that I could model this work after? 2.

Re: [Nix-dev] Nix Policy Documentation

2012-07-27 Thread Florian Friesdorf
On Fri, 27 Jul 2012 16:02:26 +0200, Florian Friesdorf f...@chaoflow.net wrote: Hi Shea, first of all: thank you very much for getting this started! On Tue, 3 Jul 2012 09:13:31 -0400, Shea Levy s...@shealevy.com wrote: So now to my first two questions: 1. Does anyone have any

Re: [Nix-dev] reverse dependencies

2012-07-27 Thread Florian Friesdorf
On Sat, 21 Jul 2012 18:15:27 +0200, Florian Friesdorf f...@chaoflow.net wrote: On Sat, 21 Jul 2012 18:10:23 +0200, Marc Weber marco-owe...@gmx.de wrote: 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)

Re: [Nix-dev] (sudo (-H)) nix-collect-garbage

2012-07-27 Thread Marc Weber
All right. I agree that its the best solution. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] PYTHONPATH and eggs

2012-07-27 Thread Mathijs Kwik
On Fri, Jul 27, 2012 at 3:30 PM, Florian Friesdorf f...@chaoflow.net wrote: On Fri, 27 Jul 2012 14:32:47 +0200, Cillian de Róiste cillian.deroi...@gmail.com wrote: On Fri, Jul 27, 2012 at 1:42 PM, Florian Friesdorf f...@chaoflow.net wrote: On Fri, 27 Jul 2012 13:29:03 +0200, Mathijs Kwik