0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Fix eval error due to config.ec2.hvm

This commit is contained in:
Eelco Dolstra 2017-04-04 13:07:15 +02:00
parent 279565c3d6
commit 35dbcbb296
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 7 additions and 9 deletions

View file

@ -15,6 +15,12 @@ let cfg = config.ec2; in
config = {
assertions = [
{ assertion = cfg.hvm;
message = "Paravirtualized EC2 instances are no longer supported.";
}
];
virtualisation.growPartition = cfg.hvm;
fileSystems."/" = {