1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

nixos/tests: fix for memorySize being an integer

This commit is contained in:
rnhmjoj 2021-09-29 15:37:36 +02:00
parent 895f3956d2
commit 7960244eb1
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ in
# chromium-based browsers refuse to run as root
test-support.displayManager.auto.user = "alice";
# browsers may hang with the default memory
virtualisation.memorySize = "500";
virtualisation.memorySize = 500;
networking.hosts."127.0.0.1" = [ "good.example.com" "bad.example.com" ];
security.pki.certificateFiles = [ "${example-good-cert}/ca.crt" ];

View file

@ -14,7 +14,7 @@ import ./make-test-python.nix ({ pkgs, firefoxPackage, ... }: {
];
# Need some more memory to record audio.
virtualisation.memorySize = "500";
virtualisation.memorySize = 500;
# Create a virtual sound device, with mixing
# and all, for recording audio.