shells/ryujinx: init

This commit is contained in:
Artemis Tosini 2024-03-05 04:05:03 +00:00
parent 6c29e57677
commit 3b75fafa0d
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
3 changed files with 45 additions and 6 deletions

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1708501555, "lastModified": 1709386671,
"narHash": "sha256-zJaF0RkdIPbh8LTmnpW/E7tZYpqIE+MePzlWwUNob4c=", "narHash": "sha256-VPqfBnIJ+cfa78pd4Y5Cr6sOWVW8GYHRVucxJGmRf8Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b50a77c03d640716296021ad58950b1bb0345799", "rev": "fa9a51752f1b5de583ad5213eb621be071806663",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +42,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1709126324,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", "rev": "d465f4819400de7c8d874d50b982301f28a84605",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -18,6 +18,7 @@
in { in {
devShells = { devShells = {
plotter = pkgs.callPackage ./shells/plotter { }; plotter = pkgs.callPackage ./shells/plotter { };
ryujinx = pkgs.callPackage ./shells/ryujinx { };
zephyr = pkgs.callPackage ./shells/zephyr { }; zephyr = pkgs.callPackage ./shells/zephyr { };
}; };

View file

@ -0,0 +1,38 @@
{ lib, mkShell, dotnetCorePackages, libX11, libgdiplus, SDL2_mixer, openal
, libsoundio, sndio, pulseaudio, vulkan-loader, ffmpeg, libICE, libSM, libXi
, libXcursor, libXext, libXrandr, fontconfig, glew, libGL, SDL2, }:
mkShell {
packages = [
# dotnet
dotnetCorePackages.sdk_8_0
dotnetCorePackages.runtime_8_0
];
LD_LIBRARY_PATH = lib.makeLibraryPath [
# Base
libX11
libgdiplus
SDL2_mixer
openal
libsoundio
sndio
pulseaudio
vulkan-loader
ffmpeg
# Avalonia UI
libICE
libSM
libXi
libXcursor
libXext
libXrandr
fontconfig
glew
# Headless executable
libGL
SDL2
];
}