Re: [Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-12 Thread Maarten Hoogendoorn
Good to know. I expected that something like this would be the case.

The context is that I'm doing some performance benchmarks of kafka and
kafka running on top of mesos, and would like to have a 100% reproducible
setup that I can give to our client. I guess that in theory, I could export
the closures of the nixops machines and store them somewhere, but that's
probably overkill :)

Thanks!

2016-07-11 16:25 GMT+02:00 Eelco Dolstra :

> Hi,
>
> On 07/11/2016 10:54 AM, Maarten Hoogendoorn wrote:
>
> > I was wondering if it's safe to depend on any commit in the unstable
> channel,
> > and still be able to fetch the derivations build by Hydra from the
> binary cache.
>
> No. Currently any version except the most recent of any channel may be
> garbage-collected at some point. Note that this also applies to the stable
> channels.
>
> --
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-11 Thread Eelco Dolstra
Hi,

On 07/11/2016 10:54 AM, Maarten Hoogendoorn wrote:

> I was wondering if it's safe to depend on any commit in the unstable channel,
> and still be able to fetch the derivations build by Hydra from the binary 
> cache.

No. Currently any version except the most recent of any channel may be
garbage-collected at some point. Note that this also applies to the stable 
channels.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-11 Thread Profpatsch
On 16-07-11 10:54am, Maarten Hoogendoorn wrote:
> Hi there,
> 
> I was wondering if it's safe to depend on any commit in the unstable
> channel, and still be able to fetch the derivations build by Hydra from the
> binary cache.

You mean on the unstable channel itself? Or on commits the unstable channel
already contains?

It is only safe to assume cache.nixos.org has substitutions for commits
the unstable channel did visit. And only as long as there is no garbage-collect.
That means your safest bet is to use unstable directly and update regularly.


-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Pinning nixpkgs on unstable channel: retention of cached packages

2016-07-11 Thread Maarten Hoogendoorn
Hi there,

I was wondering if it's safe to depend on any commit in the unstable
channel, and still be able to fetch the derivations build by Hydra from the
binary cache.

- Maarten
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev