From bc6c5e0cb2bd6e612c46c7bc95dbd3d209dfbfba Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Wed, 2 Oct 2024 03:10:58 +0000 Subject: [PATCH] shells/ryujinx: set DOTNET_ROOT --- shells/ryujinx/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/shells/ryujinx/default.nix b/shells/ryujinx/default.nix index 3ba6671..2bfd8b3 100644 --- a/shells/ryujinx/default.nix +++ b/shells/ryujinx/default.nix @@ -24,13 +24,21 @@ udev, }: +let + sdk = + with dotnetCorePackages; + combinePackages [ + sdk_8_0 + runtime_8_0 + ]; +in mkShell { packages = [ - # dotnet - dotnetCorePackages.sdk_8_0 - dotnetCorePackages.runtime_8_0 + sdk ]; + DOTNET_ROOT = "${sdk}"; + LD_LIBRARY_PATH = lib.makeLibraryPath [ # Base libX11