devShells.zephyr: add parentheses to make attrs work

This commit is contained in:
Artemis Tosini 2023-11-12 22:24:55 +00:00
parent 3de0f648f8
commit 763d83f157
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -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)