From 1ae6a6fdd49bae1247ae706ea411e4a07f110034 Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 6 Aug 2024 11:05:12 +0800 Subject: [PATCH] flake: More concise devShell No need for C compiler in development shell + use "packages" to explicitly refer to devShell packages --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 9260f9f..c3344f4 100644 --- a/flake.nix +++ b/flake.nix @@ -58,9 +58,9 @@ inherit thermostat; }; - devShells.x86_64-linux.default = pkgs.mkShell { + devShells.x86_64-linux.default = pkgs.mkShellNoCC { name = "thermostat-dev-shell"; - buildInputs = with pkgs; [ + packages = with pkgs; [ rust openocd dfu-util ] ++ (with python3Packages; [ numpy matplotlib -- 2.44.2