Fix access to the `rev' attribute
svn path=/nixos/trunk/; revision=17259
This commit is contained in:
parent
0e3981213f
commit
801710b8bf
|
@ -79,7 +79,8 @@ let
|
||||||
inherit nixpkgs;
|
inherit nixpkgs;
|
||||||
modules = [ ];
|
modules = [ ];
|
||||||
}).options;
|
}).options;
|
||||||
revision = if rev == 1234 then "HEAD" else toString rev;
|
revision = with nixosSrc;
|
||||||
|
if rev == 1234 then "HEAD" else toString rev;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue