Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions ci/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ let
};
llvmPackages = nixpkgs.llvmPackages_15;
# see pyright/README.md for update procedure
pyright = nixpkgs.callPackage ./pyright {};
pyrightpath = builtins.pathExists ./pyright;
pyright = if pyrightpath then
nixpkgs.callPackage ./pyright {}
else
nixpkgs.callPackage ./ci/pyright {};
in
with nixpkgs;
stdenvNoCC.mkDerivation ({
Expand All @@ -73,8 +77,6 @@ stdenvNoCC.mkDerivation ({
oldPythonNixpkgs.python37
oldPythonNixpkgs.python36
] ++ [
sdlnixpkgs.SDL2
sdlnixpkgs.SDL2_image
bash
check
curl # for connect tests
Expand All @@ -98,11 +100,15 @@ stdenvNoCC.mkDerivation ({
zlib
moreutils
] ++ lib.optionals (!stdenv.isDarwin) [
SDL2
SDL2_image
autoPatchelfHook
gcc11
procps
valgrind
] ++ lib.optionals (stdenv.isDarwin) [
sdlnixpkgs.SDL2
sdlnixpkgs.SDL2_image
darwin.apple_sdk.frameworks.CoreAudio
darwin.apple_sdk.frameworks.AudioToolbox
darwin.apple_sdk.frameworks.ForceFeedback
Expand Down
2 changes: 1 addition & 1 deletion core/embed/unix/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ MP_NOINLINE int main_(int argc, char **argv) {
#endif

#if MICROPY_ENABLE_PYSTACK
static mp_obj_t pystack[1024];
static mp_obj_t pystack[4096];
mp_pystack_init(pystack, &pystack[MP_ARRAY_SIZE(pystack)]);
#endif

Expand Down
Loading