[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17259 - NicolasPierron - nixos/trunk

Eelco Dolstra e.dolstra at tudelft.nl
Fri Sep 18 18:01:02 CEST 2009


Nicolas Pierron wrote:

> -        revision = if rev == 1234 then "HEAD" else toString rev;
> +        revision = with nixosSrc;
> +          if rev == 1234 then "HEAD" else toString rev;

Why not just: revision = toString nixosSrc.rev ?

The only significance of the "1234" is to allow a test build of a release from
nix-build.

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



More information about the nix-dev mailing list