From 7ec3d37e605c41feffa4ad509a7769f679a01344 Mon Sep 17 00:00:00 2001 From: Pegasust Date: Wed, 28 Dec 2022 02:18:45 -0700 Subject: [PATCH] nvim: add dependencies onto environment to test bad type inference from evcxr --- nix-conf/home-manager/base/neovim.nix | 1 + templates/rust-monorepo/.gitignore | 1 + templates/rust-monorepo/Cargo.lock | 14 -------------- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 templates/rust-monorepo/Cargo.lock diff --git a/nix-conf/home-manager/base/neovim.nix b/nix-conf/home-manager/base/neovim.nix index 0d3067f..e1ff7d9 100644 --- a/nix-conf/home-manager/base/neovim.nix +++ b/nix-conf/home-manager/base/neovim.nix @@ -83,5 +83,6 @@ in # https://github.com/nix-community/home-manager/pull/3287 # extraConfig = builtins.readFile "${proj_root}/neovim/init.lua"; }; + home.packages = nvim_pkgs; }; } diff --git a/templates/rust-monorepo/.gitignore b/templates/rust-monorepo/.gitignore index 6985cf1..4a45e6e 100644 --- a/templates/rust-monorepo/.gitignore +++ b/templates/rust-monorepo/.gitignore @@ -12,3 +12,4 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb +.direnv diff --git a/templates/rust-monorepo/Cargo.lock b/templates/rust-monorepo/Cargo.lock deleted file mode 100644 index b74bea3..0000000 --- a/templates/rust-monorepo/Cargo.lock +++ /dev/null @@ -1,14 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "cli" -version = "0.1.0" -dependencies = [ - "core", -] - -[[package]] -name = "core" -version = "0.1.0"