-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/qemu-vm: add virtualisation.memorySize < 2048
assertion on 32bit
#234266
Conversation
Successfully created backport PR for |
This appears to be breaking nixos tests for me on nixos x86_64 #234399 (comment) |
@@ -863,7 +863,13 @@ in | |||
The address must be in the default VLAN (10.0.2.0/24). | |||
''; | |||
} | |||
])); | |||
])) ++ [ | |||
{ assertion = pkgs.stdenv.hostPlatform.is32bit && cfg.memorySize < 2047; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be pkgs.stdenv.hostPlatform.is32bit -> cfg.memorySize < 2047
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh, right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix in #234455.
Description of changes
See #230871 and https://matrix.to/#/!aGqRytqbCECitOFhbt:nixos.org/$06Z4JhUEJ8RYmnq-QOvFQvieQMrgwk7uy17VmWKr7KE?via=nixos.org&via=matrix.org
cc @RaitoBezarius
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)