diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-09-29 15:37:36 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2021-09-29 15:51:06 +0200 |
commit | 7960244eb1eeae9e3fb6dceaca72fd70814063c4 (patch) | |
tree | f7e45a000131b0c43257c672fc29385895a2c923 /nixos | |
parent | 895f3956d266e2e90b66d03ea97ebc082bffd12c (diff) | |
download | nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar.gz nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar.bz2 nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar.lz nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar.xz nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.tar.zst nixpkgs-7960244eb1eeae9e3fb6dceaca72fd70814063c4.zip |
nixos/tests: fix for memorySize being an integer
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/custom-ca.nix | 2 | ||||
-rw-r--r-- | nixos/tests/firefox.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/custom-ca.nix b/nixos/tests/custom-ca.nix index 26f29a3e68f..c9657e8eff5 100644 --- a/nixos/tests/custom-ca.nix +++ b/nixos/tests/custom-ca.nix @@ -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" ]; diff --git a/nixos/tests/firefox.nix b/nixos/tests/firefox.nix index 4ad45c02240..dcaf369b62b 100644 --- a/nixos/tests/firefox.nix +++ b/nixos/tests/firefox.nix @@ -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. |