File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
pkgs/by-name/pr/prismlauncher-unwrapped Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 55 cmake ,
66 cmark ,
77 extra-cmake-modules ,
8+ fetchpatch ,
89 gamemode ,
910 ghc_filesystem ,
1011 jdk17 ,
1415 stripJavaArchivesHook ,
1516 tomlplusplus ,
1617 zlib ,
17-
1818 msaClientID ? null ,
1919 gamemodeSupport ? stdenv . hostPlatform . isLinux ,
2020} :
21-
2221let
2322 libnbtplusplus = fetchFromGitHub {
2423 owner = "PrismLauncher" ;
2726 hash = "sha256-yy0q+bky80LtK1GWzz7qpM+aAGrOqLuewbid8WT1ilk=" ;
2827 } ;
2928in
30-
3129assert lib . assertMsg (
3230 gamemodeSupport -> stdenv . hostPlatform . isLinux
3331) "gamemodeSupport is only available on Linux." ;
34-
3532stdenv . mkDerivation ( finalAttrs : {
3633 pname = "prismlauncher-unwrapped" ;
3734 version = "9.2" ;
@@ -87,6 +84,15 @@ stdenv.mkDerivation (finalAttrs: {
8784 ( lib . cmakeFeature "CMAKE_INSTALL_PREFIX" "${ placeholder "out" } /Applications/" )
8885 ] ;
8986
87+ patches = [
88+ # This patch allows Mangohud 0.8 to run correctly with Prism Launcher.
89+ # This should be removed on the next Prism Launcher release.
90+ ( fetchpatch {
91+ url = "https://github.com/PrismLauncher/PrismLauncher/commit/3295b0717a8c4805022eccb74fee2304361d8dab.patch" ;
92+ hash = "sha256-A7DrmI00dFUNZLoMFDfym7e5rSFg6V4/MjVxAnQwT6E=" ;
93+ } )
94+ ] ;
95+
9096 doCheck = true ;
9197
9298 dontWrapQtApps = true ;
You can’t perform that action at this time.
0 commit comments