This commit is contained in:
2023-09-17 13:35:43 +02:00
parent d2426b4291
commit 91910ec46e
7 changed files with 49 additions and 28 deletions

View File

@@ -28,7 +28,12 @@ in {
prismlauncher-wrapped = wrapInSandbox {
name = "prismlauncher";
binary = "${prev.prismlauncher}/bin/prismlauncher";
binary = let
script = prev.writeShellScript "prismlauncher-zink.sh" ''
export MESA_LOADER_DRIVER_OVERRIDE=zink
${prev.prismlauncher}/bin/prismlauncher
'';
in "${prev.prismlauncher}/bin/prismlauncher";
launchScriptName = "prismlauncher-wrapped";
mountInHome = [".local/share/PrismLauncher"];
additionalMounts = [