From 9f1646ec9139fbe4014b5e49407005493389f80b Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Sat, 25 May 2024 18:32:58 +0530 Subject: [PATCH] feat: Fix the issue with concating packages to built devshell --- flake.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index a33d515..2b14e73 100644 --- a/flake.nix +++ b/flake.nix @@ -94,15 +94,16 @@ }; devShells.default = - (craneLib.overrideToolchain stableToolchainWithRustAnalyzer).devShell commonArgs - // { - buildInputs = []; - nativeBuildInputs = []; - packages = with pkgs; [ - cargo-nextest - cargo-criterion - ]; - }; + (craneLib.overrideToolchain stableToolchainWithRustAnalyzer).devShell + ({ + buildInputs = []; + nativeBuildInputs = []; + packages = with pkgs; [ + cargo-nextest + cargo-criterion + ]; + } + // commonArgs); } ); }