fix rust-analyzer, updates

This commit is contained in:
Anthony Cicchetti 2024-08-08 09:11:06 -04:00
parent 7adaf10cb0
commit 4ad096e4f0
2 changed files with 45 additions and 37 deletions

View file

@ -7,11 +7,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1722878812,
"narHash": "sha256-dJ6WcOz4mg9jzuJnUdcRr1pUY4Bo0fuu5Bc13thUS5A=",
"lastModified": 1723051501,
"narHash": "sha256-Qp+Ib/Z6K6GlyH0ZeYtwZ7I5rtExF1bmxWfi4E0DRMA=",
"owner": "m15a",
"repo": "flake-awesome-neovim-plugins",
"rev": "1406e96871c7ac4c3bb663ad6ede12d3986101e8",
"rev": "da307685168d89b5e3ebda0efa019a3ae3cc2c64",
"type": "github"
},
"original": {
@ -28,11 +28,11 @@
]
},
"locked": {
"lastModified": 1720975002,
"narHash": "sha256-1i521ecK2MFg+lxSk9oRx/C0SsdlI6GS6eYT79nA6TA=",
"lastModified": 1722960479,
"narHash": "sha256-NhCkJJQhD5GUib8zN9JrmYGMwt4lCRp6ZVNzIiYCl0Y=",
"owner": "ipetkov",
"repo": "crane",
"rev": "1791a5b98d2c1bf143ad85469abcfa2426f3f087",
"rev": "4c6c77920b8d44cd6660c1621dea6b3fc4b4c4f4",
"type": "github"
},
"original": {
@ -70,11 +70,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1722839439,
"narHash": "sha256-AwQv9kstzEOYjzuC9uY8jECqFJPuV/UxPLa30L3DLqo=",
"lastModified": 1723098624,
"narHash": "sha256-TFg+lq7pHgCnsB4nRmMeTxSnZXHvzYJ2IHyEiw8zEF8=",
"owner": "nix-community",
"repo": "fenix",
"rev": "1388e72dd8562c8b2908fd655dee0c797df9e930",
"rev": "d6022ac563f2f48d8eeff89ca3589c8adc5235f6",
"type": "github"
},
"original": {
@ -205,11 +205,11 @@
]
},
"locked": {
"lastModified": 1721042469,
"narHash": "sha256-6FPUl7HVtvRHCCBQne7Ylp4p+dpP3P/OYuzjztZ4s70=",
"lastModified": 1722857853,
"narHash": "sha256-3Zx53oz/MSIyevuWO/SumxABkrIvojnB7g9cimxkhiE=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "f451c19376071a90d8c58ab1a953c6e9840527fd",
"rev": "06939f6b7ec4d4f465bf3132a05367cccbbf64da",
"type": "github"
},
"original": {
@ -247,11 +247,11 @@
]
},
"locked": {
"lastModified": 1722630065,
"narHash": "sha256-QfM/9BMRkCmgWzrPDK+KbgJOUlSJnfX4OvsUupEUZvA=",
"lastModified": 1723015306,
"narHash": "sha256-jQnFEtH20/OsDPpx71ntZzGdRlpXhUENSQCGTjn//NA=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "afc892db74d65042031a093adb6010c4c3378422",
"rev": "b3d5ea65d88d67d4ec578ed11d4d2d51e3de525e",
"type": "github"
},
"original": {
@ -268,11 +268,11 @@
]
},
"locked": {
"lastModified": 1722609272,
"narHash": "sha256-Kkb+ULEHVmk07AX+OhwyofFxBDpw+2WvsXguUS2m6e4=",
"lastModified": 1722924007,
"narHash": "sha256-+CQDamNwqO33REJLft8c26NbUi2Td083hq6SvAm2xkU=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "f7142b8024d6b70c66fd646e1d099d3aa5bfec49",
"rev": "91010a5613ffd7ee23ee9263213157a1c422b705",
"type": "github"
},
"original": {
@ -319,11 +319,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1722882581,
"narHash": "sha256-4Bc5mKOYXAhosswBQzsjm5YKp4MKT738sr4ge0id8cg=",
"lastModified": 1723121067,
"narHash": "sha256-VS7xn/tpZ9KfeqPAPNkNJaB7KkAWSl//E1B41zFNWiE=",
"owner": "nixOS",
"repo": "nixpkgs",
"rev": "76218e9e60cfbd221f91e41784ecb861be1f7013",
"rev": "7b81395d99201e90e73b873f2609ca7e7b255db5",
"type": "github"
},
"original": {
@ -349,11 +349,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1722857280,
"narHash": "sha256-b5Bal3cElLrS9UtDN81ljQpOsbqBe/7CdWlTKhlswus=",
"lastModified": 1723097923,
"narHash": "sha256-DtE5JfdxpPraCuDBFDsOc6typ+t1l4IL1HYiyTLcjYM=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "5922a48008e5759acb63a12b2de8348ec512760f",
"rev": "78abafe280b1ea102fda879799b590da5d84725f",
"type": "github"
},
"original": {
@ -371,11 +371,11 @@
]
},
"locked": {
"lastModified": 1722493084,
"narHash": "sha256-ktjl908zZKWcGdMyz6kX1kHSg7LFFGPYBvTi9FgQleM=",
"lastModified": 1722772237,
"narHash": "sha256-3eCYmzeLngX8eutIsTZAG8DIvT/0DWQQxiszTQz8n0s=",
"owner": "NuschtOS",
"repo": "search",
"rev": "3f5abffa5f28b4ac3c9212c81c5e8d2d22876071",
"rev": "aa5f6246565cc9b1e697d2c9d6ed2c842b17fff6",
"type": "github"
},
"original": {
@ -399,11 +399,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1722798820,
"narHash": "sha256-/Bd0VzlutcxTwSNouS/iC6BDv395NoO4XmBJaS2vQLg=",
"lastModified": 1723042912,
"narHash": "sha256-Ff4nCgmlSWVOMvRVVf6gTYgmZjGw9EjIFHG0aUFg+D8=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "c9109f23de57359df39db6fa36b5ca4c64b671e1",
"rev": "935883fd826c46e7e7e6de19cf24377c21f1b2ba",
"type": "github"
},
"original": {
@ -421,11 +421,11 @@
]
},
"locked": {
"lastModified": 1721010111,
"narHash": "sha256-GuPw2xhJZ+eszIJFu7z7AtqUmirSWPHpxuCpG6dSOic=",
"lastModified": 1722997267,
"narHash": "sha256-8Pncp8IKd0f0N711CRrCGTC4iLfBE+/5kaMqyWxnYic=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "3ef018b6d0f62eb59580a8e9fe141e37bf1d972d",
"rev": "d720bf3cebac38c2426d77ee2e59943012854cb8",
"type": "github"
},
"original": {
@ -512,11 +512,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1721054167,
"narHash": "sha256-0ZplHtEXoqytnDExvNoDWoTt1KjcobKVGXv5zmY3jrk=",
"lastModified": 1723031177,
"narHash": "sha256-bjiFmTOpd42a15NTtn8taQxUzCD+7+XbR+HklijsVO4=",
"owner": "dj95",
"repo": "zjstatus",
"rev": "924f821cf1a1800baa90a443a7150ca795ad93c7",
"rev": "e1e3b566268fbf6c80d6544f38b06368d23b4b46",
"type": "github"
},
"original": {

View file

@ -71,7 +71,15 @@
jsonls.enable = true;
pyright.enable = true; # In preference to attempting to use pylyzer
nil-ls.enable = true;
rust-analyzer.enable = true; #TODO
rust-analyzer = let
fenix = fenix.latest.withComponents ["cargo" "rustc"];
in {
enable = true;
installCargo = false;
installRustc = false;
cargoPackage = fenix.cargo;
rustcPackage = fenix.rustc;
};
taplo.enable = true;
terraformls.enable = true;
};