build: remove vendored gamemode code

Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
Seth Flynn 2025-11-27 16:19:51 -05:00
parent e2c31569dc
commit 38afa3a94c
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
8 changed files with 9 additions and 361 deletions

View file

@ -15,12 +15,8 @@
tomlplusplus,
zlib,
msaClientID ? null,
gamemodeSupport ? stdenv.hostPlatform.isLinux,
libarchive,
}:
assert lib.assertMsg (
gamemodeSupport -> stdenv.hostPlatform.isLinux
) "gamemodeSupport is only available on Linux.";
let
date =
@ -83,7 +79,7 @@ stdenv.mkDerivation {
tomlplusplus
zlib
]
++ lib.optional gamemodeSupport gamemode;
++ lib.optional stdenv.hostPlatform.isLinux gamemode;
cmakeFlags = [
# downstream branding

View file

@ -51,7 +51,7 @@ assert lib.assertMsg (
) "textToSpeechSupport only has an effect on Linux.";
let
prismlauncher' = prismlauncher-unwrapped.override { inherit msaClientID gamemodeSupport; };
prismlauncher' = prismlauncher-unwrapped.override { inherit msaClientID; };
in
symlinkJoin {