aboutsummaryrefslogtreecommitdiff
path: root/tests/github-flakes.nix
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-12-24 09:14:09 +0000
committerSergei Trofimovich <slyich@gmail.com>2022-12-24 09:15:15 +0000
commitbcc09902725350c8f77d4c9051c5c575e82a5a64 (patch)
treee3203a97e60bc8599a3602d1110f422666faf29d /tests/github-flakes.nix
parent3dbf9b5af5950b615ec685c1f4155b1c8698bb78 (diff)
tests: switch to non-deprecated nix.settings.* module parameters
Without the change checks issue the fllowing warning: $ nix flake check trace: warning: The option `nix.useSandbox' defined in `makeTest parameters' has been renamed to `nix.settings.sandbox'. trace: warning: The option `nix.useSandbox' defined in `makeTest parameters' has been renamed to `nix.settings.sandbox'. trace: warning: The option `nix.maxJobs' defined in `makeTest parameters' has been renamed to `nix.settings.max-jobs'. ...
Diffstat (limited to 'tests/github-flakes.nix')
-rw-r--r--tests/github-flakes.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/github-flakes.nix b/tests/github-flakes.nix
index 43a4f1432..a8b036b17 100644
--- a/tests/github-flakes.nix
+++ b/tests/github-flakes.nix
@@ -149,7 +149,7 @@ makeTest (
virtualisation.diskSize = 2048;
virtualisation.additionalPaths = [ pkgs.hello pkgs.fuse ];
virtualisation.memorySize = 4096;
- nix.binaryCaches = lib.mkForce [ ];
+ nix.settings.substituters = lib.mkForce [ ];
nix.extraOptions = "experimental-features = nix-command flakes";
networking.hosts.${(builtins.head nodes.github.config.networking.interfaces.eth1.ipv4.addresses).address} =
[ "channels.nixos.org" "api.github.com" "github.com" ];