1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-11 16:00:57 +00:00

ci: use autoPatchelfHook for emulators from pinned nixpkgs

This commit is contained in:
Martin Milata 2022-03-29 00:08:48 +02:00
parent 9a8e257619
commit 0407e78e8c
2 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,7 @@ stdenvNoCC.mkDerivation ({
SDL2
SDL2_image
autoflake
autoPatchelfHook
bash
check
curl # for connect tests

View File

@ -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-*"