nix: move out of nativeBuildInputs for devShell

This commit is contained in:
Youwen Wu 2024-09-12 00:10:56 -07:00
parent 69af77d0f0
commit 20f3bf6ca6
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -22,13 +22,12 @@
in in
{ {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
rust-bin.stable.latest.default
];
buildInputs = with pkgs; [ buildInputs = with pkgs; [
rust-analyzer pkg-config
rust-bin.stable.latest.rust-analyzer
rust-bin.stable.latest.default
openssl openssl
rust-bin.stable.latest.rustfmt
]; ];
}; };
packages.default = pkgs.rustPlatform.buildRustPackage { packages.default = pkgs.rustPlatform.buildRustPackage {