mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
nix: use-sandbox -> sandbox (#7475)
The Nix configuration file sandbox setting is now "sandbox", not "use-sandbox". Correct the documentation and tests that reference this setting.
This commit is contained in:
@@ -314,7 +314,7 @@ in
|
||||
default = { };
|
||||
example = literalExpression ''
|
||||
{
|
||||
use-sandbox = true;
|
||||
sandbox = true;
|
||||
show-trace = true;
|
||||
system-features = [ "big-parallel" "kvm" "recursive-nix" ];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# WARNING: this file is generated from the nix.settings option in
|
||||
# your Home Manager configuration at $XDG_CONFIG_HOME/nix/nix.conf.
|
||||
# Do not edit it!
|
||||
sandbox = true
|
||||
show-trace = true
|
||||
system-features = big-parallel kvm recursive-nix
|
||||
use-sandbox = true
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
];
|
||||
|
||||
settings = {
|
||||
use-sandbox = true;
|
||||
sandbox = true;
|
||||
show-trace = true;
|
||||
system-features = [
|
||||
"big-parallel"
|
||||
|
||||
Reference in New Issue
Block a user