[Nix-dev] Some beginner Nix/nixpkgs questions
Luca Bruno
lethalman88 at gmail.com
Wed Aug 5 12:39:49 CEST 2015
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 different Kafka version on an image
> built on Tuesday to an image built on Monday. I understand the concept
> of "always deploy the latest XXX available", but the presumption of it
> is unworkable from a devops perspective.
Then copy/paste the kafka nix expression on your own repository and use
that if that's unsuitable for you.
>
> On 2 - I will give that a try, thanks.
>
> On 3 - fetchgitPrivate looks like a way of building a package from a
> private repo. I am interested in hosting a private "instance" of
> Nixpkgs with some private packages and adding that into my list of Nix
> package resolvers - does that make sense?
You mean your own binary cache? Yes check nix-serve nixos module. Or if
you mean your own nixpkgs repo, well that's just a git checkout, nothing
special.
More information about the nix-dev
mailing list