Fix access to the `rev' attribute

svn path=/nixos/trunk/; revision=17259
This commit is contained in:
Nicolas Pierron 2009-09-18 15:40:02 +00:00
parent 0e3981213f
commit 801710b8bf

View file

@ -79,7 +79,8 @@ let
inherit nixpkgs;
modules = [ ];
}).options;
revision = if rev == 1234 then "HEAD" else toString rev;
revision = with nixosSrc;
if rev == 1234 then "HEAD" else toString rev;
};