diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 19:33:50 +0000 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2019-01-04 21:44:17 +0000 |
commit | 580125f6fc88e39276688e035602cd3674f456a7 (patch) | |
tree | a5e73e282a4503e8eee383616c03659b55b7b05b /pkgs/development/libraries/box2d | |
parent | 0b0430928b7fd12e36239ad6c8e0a5681e0a44fc (diff) |
box2d: don't build examples
They fail to build and aren't included in the output anyway.
Diffstat (limited to 'pkgs/development/libraries/box2d')
-rw-r--r-- | pkgs/development/libraries/box2d/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/box2d/default.nix b/pkgs/development/libraries/box2d/default.nix index e65980be320eb..a6ab33d20f778 100644 --- a/pkgs/development/libraries/box2d/default.nix +++ b/pkgs/development/libraries/box2d/default.nix @@ -17,7 +17,11 @@ stdenv.mkDerivation rec { unzip cmake libGLU_combined freeglut libX11 xproto inputproto libXi ]; - cmakeFlags = [ "-DBOX2D_INSTALL=ON" "-DBOX2D_BUILD_SHARED=ON" ]; + cmakeFlags = [ + "-DBOX2D_INSTALL=ON" + "-DBOX2D_BUILD_SHARED=ON" + "-DBOX2D_BUILD_EXAMPLES=OFF" + ]; prePatch = '' substituteInPlace Box2D/Common/b2Settings.h \ |