Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
18 changes: 11 additions & 7 deletions ci/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ let
sha256 = "02s3qkb6kz3ndyx7rfndjbvp4vlwiqc42fxypn3g6jnc0v5jyz95";
}) { };
# commit emulator works fine
sdlnixpkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/1882c6b7368fd284ad01b0a5b5601ef136321292.tar.gz";
sha256 = "0zg7ak2mcmwzi2kg29g4v9fvbvs0viykjsg2pwaphm1fi13s7s0i";
}) { };
# sdlnixpkgs = import (builtins.fetchTarball {
# url = "https://github.com/NixOS/nixpkgs/archive/1882c6b7368fd284ad01b0a5b5601ef136321292.tar.gz";
# sha256 = "0zg7ak2mcmwzi2kg29g4v9fvbvs0viykjsg2pwaphm1fi13s7s0i";
# }) { };
moneroTests = nixpkgs.fetchurl {
url = "https://github.com/ph4r05/monero/releases/download/v0.18.1.1-dev-tests-u18.04-02/trezor_tests";
sha256 = "81424cfc3965abdc24de573274bf631337b52fd25cefc895513214c613fe05c9";
Expand Down 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,8 @@ stdenvNoCC.mkDerivation ({
oldPythonNixpkgs.python37
oldPythonNixpkgs.python36
] ++ [
sdlnixpkgs.SDL2
sdlnixpkgs.SDL2_image
SDL2
SDL2_image
Comment thread
Johnwanzi marked this conversation as resolved.
Outdated
bash
check
curl # for connect tests
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