system(nix): Forbid import from derivation

Helps prevent issues where we accidentally use an import from derivation
and cause flakes with multiple platforms to fail when running things
like `nix flake check`.
This commit is contained in:
Donovan Glover 2024-06-20 22:32:42 -04:00
parent 3b25740fb1
commit 79401e029b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -96,6 +96,7 @@ in
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
auto-optimise-store = true;
warn-dirty = false;
allow-import-from-derivation = false;
trusted-users = [
"root"