From 9efa9ce516b3c94ccec439a7b4a156be015b26d5 Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 6 Dec 2024 01:39:35 +0100 Subject: [PATCH] Plasticity: Fix EGL --- pkgs/by-name/pl/plasticity/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pl/plasticity/package.nix b/pkgs/by-name/pl/plasticity/package.nix index 7318880e6849..b089c211b751 100644 --- a/pkgs/by-name/pl/plasticity/package.nix +++ b/pkgs/by-name/pl/plasticity/package.nix @@ -117,9 +117,8 @@ stdenv.mkDerivation rec { ''; #--use-gl=egl for it to use hardware rendering it seems. Otherwise there are terrible framerates - postInstall = '' - substituteInPlace share/applications/Plasticity.desktop \ - --replace-fail 'Exec=Plasticity %U' "Exec=Plasticity --use-gl=egl %U" + preFixup = '' + gappsWrapperArgs+=(--add-flags "--use-gl=egl") ''; meta = with lib; {