diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-05-07 15:45:11 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-05-11 16:24:00 +0200 |
commit | d0b0f9e441c70253ea4ba42162b5e60057ba6883 (patch) | |
tree | 0586eab57218e1f890d28a2c94004a7ba20b9f88 /nixos | |
parent | b213791e7e85ced036ac1f8c41ef07e53d89e83a (diff) |
nixosTests.acme: Use a read-only pkgs
This speeds up evaluation by a factor 2. Ballpark figures from my machine: ``` $ time nix-build nixos/release.nix -A tests.acme /nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme /nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme real 1m28.142s user 1m7.474s sys 0m7.932s $ time nix-build nixos/release.nix -A tests.acme /nix/store/q4fxp55k64clcarsx8xc8f6s10szlfvz-vm-test-run-acme /nix/store/lnfqg051sxx05hclva84bcbnjfc71c8x-vm-test-run-acme real 0m38.235s user 0m33.814s sys 0m2.283s ```
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/all-tests.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 643162a2d8636..9abe419b1c03d 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -98,7 +98,7 @@ in { _3proxy = runTest ./3proxy.nix; aaaaxy = runTest ./aaaaxy.nix; - acme = runTest ./acme.nix; + acme = runTest { imports = [ ./acme.nix readOnlyPkgs ]; }; adguardhome = runTest ./adguardhome.nix; aesmd = runTestOn ["x86_64-linux"] ./aesmd.nix; agate = runTest ./web-servers/agate.nix; |