mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-22 10:41:35 +02:00
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:
parent
3b25740fb1
commit
79401e029b
@ -96,6 +96,7 @@ in
|
|||||||
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
warn-dirty = false;
|
warn-dirty = false;
|
||||||
|
allow-import-from-derivation = false;
|
||||||
|
|
||||||
trusted-users = [
|
trusted-users = [
|
||||||
"root"
|
"root"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user