From 26dda3c45ebdc910527a1f18bce360034bdbdb96 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 6 May 2023 21:59:55 +0200 Subject: [PATCH] prismlauncher: enable PIE Signed-off-by: Sefa Eyeoglu --- pkgs/games/prismlauncher/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix index 2e7defef059d..eb83de0d0b65 100644 --- a/pkgs/games/prismlauncher/default.nix +++ b/pkgs/games/prismlauncher/default.nix @@ -42,6 +42,8 @@ stdenv.mkDerivation rec { tomlplusplus ] ++ lib.optional gamemodeSupport gamemode; + hardeningEnable = [ "pie" ]; + cmakeFlags = lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ] ++ lib.optionals (lib.versionAtLeast qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=6" ];