From 763d83f15705ab6c6b033e445f96d40bc4f10eb4 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 12 Nov 2023 22:24:55 +0000 Subject: [PATCH] devShells.zephyr: add parentheses to make attrs work --- shells/zephyr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shells/zephyr/default.nix b/shells/zephyr/default.nix index 894fa59..9eee9e1 100644 --- a/shells/zephyr/default.nix +++ b/shells/zephyr/default.nix @@ -2,7 +2,7 @@ , toolchains ? with zephyr.toolchains; [ arm-zephyr-eabi ], enableWest ? false , zephyrSrc ? null, extraPackages ? [ ], extraAttrs ? { } }: let zephyr-sdk = zephyr.sdk.override { inherit toolchains; }; -in mkShell { +in mkShell ({ packages = [ cmake ninja gnumake python3 ] ++ (with python3.pkgs; [ # requirements-base.txt @@ -27,4 +27,4 @@ in mkShell { shellHook = '' PATH="${zephyrSrc}/scripts:$PATH" ''; -} // extraAttrs +} // extraAttrs)