tests/emulators: fix download_emulators script

pull/1091/head
Pavol Rusnak 4 years ago
parent d720fa3f83
commit 426382da7c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -9,7 +9,5 @@ wget -e robots=off --no-verbose --no-clobber --no-parent --cut-dirs=2 --no-host-
chmod u+x emulators/trezor-emu-*
if [ -f /etc/NIXOS ]; then
# for this to work you need to run ./download_emulators.sh outside the main nix shell
cd emulators && nix-shell --run "autoPatchelf trezor-emu*"
fi
# are we in Nix(OS)?
command -v nix-shell >/dev/null && nix-shell -p autoPatchelfHook SDL2 SDL2_image --run "autoPatchelf emulators/trezor-emu-*"

@ -1,3 +1 @@
*
!shell.nix
!.gitignore
trezor-emu-*

@ -1,10 +0,0 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "trezor-patch-emulators";
buildInputs = [
autoPatchelfHook
SDL2
SDL2_image
];
}
Loading…
Cancel
Save