From 7a2d7ce29679dc9aea78a96dcc5863a7377deab0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 29 Feb 2024 21:42:35 +0100 Subject: [PATCH] Simplify dev shell --- flake.nix | 2 ++ package.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index 7a3283e..c8e8571 100644 --- a/flake.nix +++ b/flake.nix @@ -46,6 +46,7 @@ default = magic-nix-cache; }); + /* devShells = forEachSupportedSystem ({ pkgs, cranePkgs, lib }: { default = pkgs.mkShell { inputsFrom = [ cranePkgs.magic-nix-cache ]; @@ -156,5 +157,6 @@ ]; }; }); + */ }; } diff --git a/package.nix b/package.nix index d0e27b5..6103341 100644 --- a/package.nix +++ b/package.nix @@ -4,6 +4,9 @@ , nix , boost , darwin +, rust-analyzer +, clippy +, rustfmt }: let @@ -21,6 +24,9 @@ in rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config installShellFiles + rust-analyzer + clippy + rustfmt ]; buildInputs = [