[Nix-dev] [Nix-commits] SVN commit: nix - r33565 - release/trunk/channels

Eelco Dolstra eelco.dolstra at logicblox.com
Sun Apr 8 20:52:12 CEST 2012


Hi,

On 08/04/12 20:38, Nicolas Pierron wrote:

>> Yes, except that I want to have a NixOS channel that contains Nixpkgs as a
>> subset, based on this NixOS Hydra view:
>>
>>  http://hydra.nixos.org/view/nixos/tested
>>
>> That way, you can run "nix-channel --update" to update NixOS with a reasonable
>> assurance that things will still work (and that everything has already been
>> precompiled).
> 
> I am not sure to understand how this change the problem of having
> sources which are not-synced with the channel.

If you use the Nixpkgs channel, then you always have sources that are in sync
with the binaries.

If you use the Nixpkgs trunk, then of course all bets are off.

In the future the script that updates the Nixpkgs channel may also update a tag
or branch in the Nixpkgs repository to point at the latest sources in the channel.

> Another question is, how would this impact binary diff, because if you
> have one channel which correspond to one revision, and not multiple
> then you cannot do a binary diff, unless the channel contains n
> revisions [ R - n .. R ].

Diffs are now computed between each successive release in the Nixpkgs channel.
 (This is the behaviour we had in the past with the old pre-Hydra buildfarm.)
Thus, given

  http://nixos.org/releases/nixpkgs/

the patch generator computes the diffs between nixpkgs-0.14pre33559 and
nixpkgs-0.14pre33562, between nixpkgs-0.14pre33562 and nixpkgs-0.14pre33564, and
so on.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list