common nixpkgs: use types.str

This commit is contained in:
tv 2015-06-28 13:53:42 +02:00
parent 745071377f
commit 55d4b48803

View File

@ -5,12 +5,12 @@ with lib;
{
options = {
nixpkgs.url = mkOption {
type = types.string;
description = "url of the remote repo";
type = types.str;
description = "URL of the nixpkgs repository.";
};
nixpkgs.rev= mkOption {
type = types.string;
description = "revision of the remote repo";
nixpkgs.rev = mkOption {
type = types.str;
description = "Revision of the remote repository.";
};
};
}