mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 08:42:30 +00:00
Mention --accept-flake-config
in the related warning
Make sure that people who run Nix in non-interactive mode (and so don't have the possibility to interactively accept the individual flake configuration settings) are aware of this flag. Fix #7086
This commit is contained in:
parent
cacfc32ee2
commit
1a5d094be7
@ -68,7 +68,7 @@ void ConfigFile::apply()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!trusted) {
|
if (!trusted) {
|
||||||
warn("ignoring untrusted flake configuration setting '%s'", name);
|
warn("ignoring untrusted flake configuration setting '%s'.\nPass '%s' to trust it", name, "--accept-flake-config");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user