From 67b4a819d2d2fa0cd4d6bd975e40141ca0594900 Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman <145775305+xokdvium@users.noreply.github.com> Date: Thu, 19 Dec 2024 01:04:08 +0300 Subject: [PATCH] manaplus: build without internalsdlgfx --- pkgs/games/manaplus/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/games/manaplus/default.nix b/pkgs/games/manaplus/default.nix index 6696826436c4..e9ce75c4b051 100644 --- a/pkgs/games/manaplus/default.nix +++ b/pkgs/games/manaplus/default.nix @@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-OVmCqK8undrBKgY5bB2spezmYwWXnmrPlSpV5euortc="; }; + # The unstable version has this commit that fixes missing include: + # https://gitlab.com/manaplus/manaplus/-/commit/63912a8a6bfaecdb6b40d2a89191a2fb5af32906 patches = [ # https://gitlab.com/manaplus/manaplus/-/issues/33 ./0001-libxml2-const-ptr-and-missing-include.patch @@ -60,8 +62,9 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; configureFlags = [ - "--with-sdl2" - "--without-dyecmd" + (lib.withFeature true "sdl2") + (lib.withFeature false "dyecmd") + (lib.withFeature false "internalsdlgfx") ]; enableParallelBuilding = true;