diff options
author | flow <flowlnlnln@gmail.com> | 2022-05-29 11:21:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 11:21:47 -0300 |
commit | 4f0f74d2011f23089f1a9240c6b12ddb3e746da7 (patch) | |
tree | b3e6cd973d4d9d33c97010b98006c432511ac398 | |
parent | adf1e1982a66959aa594bb0c43eba5428f88999d (diff) | |
parent | ee00a5d8eef6c9239d7701554d065c0f5f8767c3 (diff) | |
download | PrismLauncher-4f0f74d2011f23089f1a9240c6b12ddb3e746da7.tar.gz PrismLauncher-4f0f74d2011f23089f1a9240c6b12ddb3e746da7.tar.bz2 PrismLauncher-4f0f74d2011f23089f1a9240c6b12ddb3e746da7.zip |
Merge pull request #675 from muscaln/nix
Nix updates
-rw-r--r-- | nix/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/default.nix b/nix/default.nix index cce40e63..969b455e 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -11,6 +11,7 @@ , xorg , libpulseaudio , qtbase +, quazip , libGL , msaClientID ? "" @@ -18,6 +19,7 @@ , self , version , libnbtplusplus +, enableLTO ? false }: let @@ -57,9 +59,9 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-GNinja" - "-DENABLE_LTO=on" "-DLauncher_QT_VERSION_MAJOR=${lib.versions.major qtbase.version}" - ] ++ lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]; + ] ++ lib.optionals enableLTO [ "-DENABLE_LTO=on" ] + ++ lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]; postInstall = '' # xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 |