devShells.zephyr: add parentheses to make attrs work
This commit is contained in:
parent
3de0f648f8
commit
763d83f157
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue