about summary refs log tree commit diff
path: root/pkgs/games/prismlauncher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-07-26 14:21:33 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-07-26 14:26:32 +0200
commit68c080daae66d0de3bd3929c89354128adcbcd72 (patch)
tree7076facb364f0e6f40429a23233a51c74218daa7 /pkgs/games/prismlauncher
parentc516ad1ee1c9d64d420a14439f50af51aead01bb (diff)
prismlauncher: 7.1 -> 7.2
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'pkgs/games/prismlauncher')
-rw-r--r--pkgs/games/prismlauncher/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix
index 17b6f3813a953..9df1182e1ab75 100644
--- a/pkgs/games/prismlauncher/default.nix
+++ b/pkgs/games/prismlauncher/default.nix
@@ -25,13 +25,13 @@ let
 in
 stdenv.mkDerivation rec {
   pname = "prismlauncher-unwrapped";
-  version = "7.1";
+  version = "7.2";
 
   src = fetchFromGitHub {
     owner = "PrismLauncher";
     repo = "PrismLauncher";
     rev = version;
-    sha256 = "sha256-ri4oaeJKmvjJapUASPX10nl4JcLPjA3SgTp2EyaEPWg=";
+    sha256 = "sha256-RArg60S91YKp1Mt97a5JNfBEOf2cmuX4pK3VAx2WfqM=";
   };
 
   nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja ];
@@ -46,7 +46,10 @@ stdenv.mkDerivation rec {
 
   hardeningEnable = [ "pie" ];
 
-  cmakeFlags = lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
+  cmakeFlags = [
+    # downstream branding
+    "-DLauncher_BUILD_PLATFORM=nixpkgs"
+  ] ++ lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
     ++ lib.optionals (lib.versionOlder qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=5" ];
 
   postUnpack = ''