diff --git a/pkgs/by-name/ml/mlvwm/package.nix b/pkgs/by-name/ml/mlvwm/package.nix index 1705496ec0c2..9c6fd1a00fed 100644 --- a/pkgs/by-name/ml/mlvwm/package.nix +++ b/pkgs/by-name/ml/mlvwm/package.nix @@ -21,6 +21,12 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-ElKmi+ANuB3LPwZTMcr5HEMESjDwENbYnNIGdRP24d0="; }; + postPatch = '' + # gcc15 + substituteInPlace mlvwm/functions.h \ + --replace-fail "void (*action)();" "void (*action)(char *);" + ''; + nativeBuildInputs = [ installShellFiles ]; buildInputs = [