tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
box2d: make src name independent
Jonathan Ringer
4 years ago
adfe7f33
18c2e991
+1
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
box2d
default.nix
+1
-2
pkgs/development/libraries/box2d/default.nix
···
12
12
sha256 = "sha256-Z2J17YMzQNZqABIa5eyJDT7BWfXveymzs+DWsrklPIs=";
13
13
};
14
14
15
15
-
sourceRoot = "source/Box2D";
16
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
25
+
cd Box2D
27
26
substituteInPlace Box2D/Common/b2Settings.h \
28
27
--replace 'b2_maxPolygonVertices 8' 'b2_maxPolygonVertices 15'
29
28
'';