mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
tests/nixos/s3-binary-cache-store: disable default substituter so it runs faster
Since networking is disabled in these VMs, trying to talk to the default
cache.nixos.org slows the test down (since it can't resolve it).
(cherry picked from commit f0c1262d23
)
This commit is contained in:
parent
6c1dfab347
commit
fed54f3550
1 changed files with 8 additions and 2 deletions
|
@ -21,7 +21,10 @@ in {
|
||||||
{ virtualisation.writableStore = true;
|
{ virtualisation.writableStore = true;
|
||||||
virtualisation.additionalPaths = [ pkgA ];
|
virtualisation.additionalPaths = [ pkgA ];
|
||||||
environment.systemPackages = [ pkgs.minio-client ];
|
environment.systemPackages = [ pkgs.minio-client ];
|
||||||
nix.extraOptions = "experimental-features = nix-command";
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command
|
||||||
|
substituters =
|
||||||
|
'';
|
||||||
services.minio = {
|
services.minio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
region = "eu-west-1";
|
region = "eu-west-1";
|
||||||
|
@ -36,7 +39,10 @@ in {
|
||||||
client =
|
client =
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{ virtualisation.writableStore = true;
|
{ virtualisation.writableStore = true;
|
||||||
nix.extraOptions = "experimental-features = nix-command";
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command
|
||||||
|
substituters =
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue