From ffb13146282ab1337fe101d81ff432920f254cb2 Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 2 Dec 2022 17:04:34 -0500 Subject: [PATCH] Cache change, add rust-analyzer to template --- darwin/bootstrap.nix | 4 ++-- templates/rust/flake.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/darwin/bootstrap.nix b/darwin/bootstrap.nix index b634e15..5304307 100644 --- a/darwin/bootstrap.nix +++ b/darwin/bootstrap.nix @@ -5,20 +5,20 @@ nix.settings = { trusted-substituters = [ "https://cache.nixos.org/" - "https://hydra.iohk.io" "https://cache.iog.io" "https://nix-community.cachix.org" "https://mat.cachix.org" "https://helix.cachix.org" "https://pre-commit-hooks.cachix.org" + "https://iohk.cachix.org" ]; trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" - "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "mat.cachix.org-1:AHqv9SoBEPKlJX2DDZQnjaMcvBAgpH1j8rw5USYDZno=" "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" "pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc=" + "iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=" ]; trusted-users = [ "@admin" diff --git a/templates/rust/flake.nix b/templates/rust/flake.nix index 31ee16b..6b4127e 100644 --- a/templates/rust/flake.nix +++ b/templates/rust/flake.nix @@ -48,6 +48,7 @@ rustc ]; buildInputs = with pkgs; [ + rust-analyzer rustfmt clippy ];