ci: use autoPatchelfHook for emulators from pinned nixpkgs

pull/2198/head
Martin Milata 2 years ago
parent 9a8e257619
commit 0407e78e8c

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

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

Loading…
Cancel
Save