diff --git a/crates/nil/src/config.rs b/crates/nil/src/config.rs index c54cbcc..e1bf5ae 100644 --- a/crates/nil/src/config.rs +++ b/crates/nil/src/config.rs @@ -27,7 +27,7 @@ impl Config { formatting_command: None, nix_binary: "nix".into(), nix_flake_auto_archive: None, - nix_flake_auto_eval_inputs: true, + nix_flake_auto_eval_inputs: false, nix_flake_nixpkgs_input_name: Some("nixpkgs".into()), } } diff --git a/dev/vim-coc.nix b/dev/vim-coc.nix index 041708e..179dc33 100644 --- a/dev/vim-coc.nix +++ b/dev/vim-coc.nix @@ -99,6 +99,7 @@ let ''; nil.formatting.command = [ "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt" ]; nil.diagnostics.excludedFiles = [ "generated.nix" ]; + nil.nix.flake.autoEvalInputs = true; }; diff --git a/docs/configuration.md b/docs/configuration.md index 1078d7a..25bc4e3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -59,8 +59,8 @@ Default configuration: // lots of time and/or memory. // // Type: boolean - // Example: false - "autoEvalInputs": true, + // Example: true + "autoEvalInputs": false, // The input name of nixpkgs for NixOS options evaluation. // // The options hierarchy is used to improve completion, but may cost