diff --git a/ci/shell.nix b/ci/shell.nix index afcfba334..e7648bdcf 100644 --- a/ci/shell.nix +++ b/ci/shell.nix @@ -72,6 +72,7 @@ stdenvNoCC.mkDerivation ({ SDL2 SDL2_image autoflake + autoPatchelfHook bash check curl # for connect tests diff --git a/tests/download_emulators.sh b/tests/download_emulators.sh index 0c34e5289..d0614cc86 100755 --- a/tests/download_emulators.sh +++ b/tests/download_emulators.sh @@ -18,5 +18,6 @@ wget -e robots=off \ chmod u+x emulators/trezor-emu-* +cd .. # are we in Nix(OS)? -command -v nix-shell >/dev/null && nix-shell -p autoPatchelfHook SDL2 SDL2_image --run "autoPatchelf emulators/trezor-emu-*" +command -v nix-shell >/dev/null && nix-shell --run "autoPatchelf tests/emulators/trezor-emu-*"