Last active
August 30, 2024 15:11
-
-
Save ramirez7/b6a9b849d946a984dcea3adc389bf4e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
src = fetchzip { | |
url = "https://github.com/project-slippi/Ishiiruka-Playback/releases/download/v3.4.0/playback-3.4.0-Linux.zip"; | |
sha256 = "sha256-fYDXDC+pdz33hEden7e5lSwY+KluysviOBFw17OOhUQ="; | |
stripRoot = false; | |
}; | |
ldlibpath = lib.makeLibraryPath [ | |
gmp | |
vulkan-loader | |
libsndfile | |
mpg123 | |
"/run/opengl-driver" | |
]; | |
in | |
writeShellScript "Slippi_Playback-x86_64.AppImage" '' | |
LD_LIBRARY_PATH=${ldlibpath} ${appimage-run}/bin/appimage-run ${src}/Slippi_Playback-x86_64.AppImage "$@" | |
'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment