box2d: make src name independent

+1 -2
+1 -2
pkgs/development/libraries/box2d/default.nix
··· 12 12 sha256 = "sha256-Z2J17YMzQNZqABIa5eyJDT7BWfXveymzs+DWsrklPIs="; 13 13 }; 14 14 15 - sourceRoot = "source/Box2D"; 16 - 17 15 nativeBuildInputs = [ cmake pkg-config ]; 18 16 buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ]; 19 17 ··· 24 22 ]; 25 23 26 24 prePatch = '' 25 + cd Box2D 27 26 substituteInPlace Box2D/Common/b2Settings.h \ 28 27 --replace 'b2_maxPolygonVertices 8' 'b2_maxPolygonVertices 15' 29 28 '';