diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-03 22:29:06 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-01-04 22:11:03 -0800 |
commit | adfe7f334ae8b11c5bec6a54a29dbd8cdc55616f (patch) | |
tree | 489e1dbb00405fde3aefe625318df822c568cc2a /pkgs/development/libraries/box2d | |
parent | 18c2e9910faea24d5d6cf2fb9d548de7cd0ae228 (diff) |
box2d: make src name independent
Diffstat (limited to 'pkgs/development/libraries/box2d')
-rw-r--r-- | pkgs/development/libraries/box2d/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/box2d/default.nix b/pkgs/development/libraries/box2d/default.nix index 80287f4f31406..84e2dbc05644a 100644 --- a/pkgs/development/libraries/box2d/default.nix +++ b/pkgs/development/libraries/box2d/default.nix @@ -12,8 +12,6 @@ stdenv.mkDerivation rec { sha256 = "sha256-Z2J17YMzQNZqABIa5eyJDT7BWfXveymzs+DWsrklPIs="; }; - sourceRoot = "source/Box2D"; - nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libGLU libGL freeglut libX11 xorgproto libXi ]; @@ -24,6 +22,7 @@ stdenv.mkDerivation rec { ]; prePatch = '' + cd Box2D substituteInPlace Box2D/Common/b2Settings.h \ --replace 'b2_maxPolygonVertices 8' 'b2_maxPolygonVertices 15' ''; |