[Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Alex Dean
Hi, I’m currently evaluating Nix (the package manager) for use at Snowplow - I really like what I see but I have some questions, particularly around private artifacts and package repositories. As a bit of background, our primary goal in adopting Nix would be to move a lot of bespoke app/data

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Luca Bruno
On 05/08/2015 12:33, Alex Dean wrote: Thanks Luca, On 1 - We prefer having only the latest version when possible.. I don't think I understand this. If I am using Packer to build an Amazon AMI and install Kafka via Nix, then all it takes is a single commit to Nixpkgs for me to end up with a

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Alex Dean
Thanks Luca, that's very helpful. I think I've got a better handle on the Nix way now. Cheers, Alex On Wed, Aug 5, 2015 at 11:39 AM, Luca Bruno lethalma...@gmail.com wrote: On 05/08/2015 12:33, Alex Dean wrote: Thanks Luca, On 1 - We prefer having only the latest version when possible..

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Eelco Dolstra
Hi, On 05/08/15 12:33, Alex Dean wrote: On 1 - We prefer having only the latest version when possible.. I don't think I understand this. If I am using Packer to build an Amazon AMI and install Kafka via Nix, then all it takes is a single commit to Nixpkgs for me to end up with a

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Alex Dean
Thanks Eelco, The strategy for a private repository sounds great - I will try and get that working with nix-serve. On reproducible deployments using git revisions - it solves the problem, but it feels like a very out-of-band solution. For a given piece of software, that software's version will

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Colin Putney
On Wed, Aug 5, 2015 at 4:53 AM, Alex Dean a...@snowplowanalytics.com wrote: On reproducible deployments using git revisions - it solves the problem, but it feels like a very out-of-band solution. You don't have to embed a git revision in your nix expressions; I don't like that solution much

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Alex Dean
Thanks Colin - that's very helpful! Lots to go on there. Cheers, Alex On Wed, Aug 5, 2015 at 7:35 PM, Colin Putney co...@wiresong.com wrote: On Wed, Aug 5, 2015 at 4:53 AM, Alex Dean a...@snowplowanalytics.com wrote: On reproducible deployments using git revisions - it solves the

Re: [Nix-dev] Some beginner Nix/nixpkgs questions

2015-08-05 Thread Anderson Torres
Well, I think you just want: 1 - The Nix package manager language - it is easy; 2 - A local package expression respository with your own idiosyncrasy. To 2, it is just to create a Git local branch with your preferred versions of your favourite packages. To build them, maybe setting up an Hydra