From 20f3bf6ca6c4700cf0f5bdb10ccb71de570fd9cf Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 12 Sep 2024 00:10:56 -0700 Subject: [PATCH] nix: move out of nativeBuildInputs for devShell --- flake.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index e17dca6..e99167a 100644 --- a/flake.nix +++ b/flake.nix @@ -22,13 +22,12 @@ in { devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - pkg-config - rust-bin.stable.latest.default - ]; buildInputs = with pkgs; [ - rust-analyzer + pkg-config + rust-bin.stable.latest.rust-analyzer + rust-bin.stable.latest.default openssl + rust-bin.stable.latest.rustfmt ]; }; packages.default = pkgs.rustPlatform.buildRustPackage {