From 1c220b15b720ab8e81ba5495a959966c588ebdd0 Mon Sep 17 00:00:00 2001 From: George Singer Date: Mon, 8 Jul 2024 17:10:27 -0500 Subject: [PATCH] Bump nixpkgs (fixing override errors in godot.nix). --- godot.nix | 20 +++++++++++++++----- thirdparty/vhacd/inc/vhacdICHull.h | 1 + 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/godot.nix b/godot.nix index e29493738609..d3f4fb8e86ca 100644 --- a/godot.nix +++ b/godot.nix @@ -24,10 +24,20 @@ let }; stdenvRes = if devBuild then (keepDebugInfo stdenv) else stdenv; - xwayland-dev = xwayland.override { stdenv = stdenvRes; }; - libxcb-dev = xorg.libxcb.override { stdenv = stdenvRes; }; - wayland-dev = wayland.override { stdenv = stdenvRes; }; - wayland-protocols-dev = wayland-protocols.override { stdenv = stdenvRes; }; + xwayland-dev = xwayland.overrideAttrs (oldAttrs: { + stdenv = stdenvRes; + }); + libxcb-dev = xorg.libxcb.overrideAttrs (oldAttrs: { + stdenv = stdenvRes; + }); + wayland-dev = wayland.overrideAttrs (oldAttrs: { + stdenv = stdenvRes; + }); + wayland-protocols-dev = wayland-protocols.overrideAttrs (oldAttrs: { + stdenv = stdenvRes; + }); + + libxcb-errors = import ../wlroots/libxcb-errors/libxcb-errors.nix { stdenv = stdenv; pkg-config=pkg-config; autoreconfHook = autoreconfHook; xorg = xorg; libbsd = libbsd; python310 = python310; lib = lib; }; @@ -54,7 +64,7 @@ in stdenv.mkDerivation rec { src = ./.; - nativeBuildInputs = [ scons pkgconfig ]; + nativeBuildInputs = [ scons pkg-config ]; buildInputs = [ libX11 libXcursor libXinerama libXrandr libXrender diff --git a/thirdparty/vhacd/inc/vhacdICHull.h b/thirdparty/vhacd/inc/vhacdICHull.h index 132bdcfb3e05..e11d684d70b6 100644 --- a/thirdparty/vhacd/inc/vhacdICHull.h +++ b/thirdparty/vhacd/inc/vhacdICHull.h @@ -17,6 +17,7 @@ #define VHACD_ICHULL_H #include "vhacdManifoldMesh.h" #include "vhacdVector.h" +#include namespace VHACD { //! Incremental Convex Hull algorithm (cf. http://cs.smith.edu/~orourke/books/ftp.html ).