aboutsummaryrefslogtreecommitdiff
path: root/tests/nss-preload.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/nss-preload.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/nss-preload.nix')
-rw-r--r--tests/nss-preload.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/nss-preload.nix b/tests/nss-preload.nix
index 64b655ba2..5a6ff3f68 100644
--- a/tests/nss-preload.nix
+++ b/tests/nss-preload.nix
@@ -98,9 +98,9 @@ rec {
{ address = "192.168.0.10"; prefixLength = 24; }
];
- nix.sandboxPaths = lib.mkForce [];
- nix.binaryCaches = lib.mkForce [];
- nix.useSandbox = lib.mkForce true;
+ nix.settings.extra-sandbox-paths = lib.mkForce [];
+ nix.settings.substituters = lib.mkForce [];
+ nix.settings.sandbox = lib.mkForce true;
};
};