From f9f140b286326c68b027b946665c8226ac0e1bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez=20Mu=C3=B1oz?= Date: Fri, 2 Apr 2021 17:41:38 +0200 Subject: [PATCH] ruffle: nightly-2021-01-12 -> nightly-2021-04-02 --- pkgs/misc/emulators/ruffle/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/emulators/ruffle/default.nix b/pkgs/misc/emulators/ruffle/default.nix index 9e1f986341f7..affbf0af15a9 100644 --- a/pkgs/misc/emulators/ruffle/default.nix +++ b/pkgs/misc/emulators/ruffle/default.nix @@ -13,13 +13,13 @@ rustPlatform.buildRustPackage rec { pname = "ruffle"; - version = "nightly-2021-01-12"; + version = "nightly-2021-04-02"; src = fetchFromGitHub { owner = "ruffle-rs"; repo = pname; rev = version; - sha256 = "1lywxn61w0b3pb8vjpavd9f3v58gq35ypwp41b7rjkc4rjxmf3cd"; + sha256 = "1diz94y53hvii28894zz65aya12v8yw1864lqpkrdbj67yc6ykdj"; }; nativeBuildInputs = [ @@ -42,10 +42,13 @@ rustPlatform.buildRustPackage rec { ]; postInstall = '' + # This name is too generic + mv $out/bin/exporter $out/bin/ruffle_exporter + wrapProgram $out/bin/ruffle_desktop --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib ''; - cargoSha256 = "113gh8nf2fs9shfvnzpwlc7zaq1l9l9jhlybcc4dq0wr4r8qpff5"; + cargoSha256 = "0pnp5kmij4dwwvmgdv81mqcawcjcgg5gd6cpyf0xalyfjgj8i732"; meta = with lib; { description = "An Adobe Flash Player emulator written in the Rust programming language.";