diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
commit | 97c484a10f4b38efc4fb3dd210defed96003ae7d (patch) | |
tree | 3cf505288a69445d7a0da288197352484942421c /pkgs/games/the-butterfly-effect | |
parent | d133a168f082d2f4c94984190e836e55f5e389a7 (diff) |
treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
Diffstat (limited to 'pkgs/games/the-butterfly-effect')
-rw-r--r-- | pkgs/games/the-butterfly-effect/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/the-butterfly-effect/default.nix b/pkgs/games/the-butterfly-effect/default.nix index 8775fb103d8d4..cf587ce89dd6d 100644 --- a/pkgs/games/the-butterfly-effect/default.nix +++ b/pkgs/games/the-butterfly-effect/default.nix @@ -9,8 +9,12 @@ stdenv.mkDerivation rec { sha256 = "1cs4q9qiakfd2m1lvfsvfgf8yvhxzmc06glng5d80piwyn6ymzxg"; }; + postPatch = "sed '1i#include <vector>' -i src/model/World.h"; + buildInputs = [ qt4 box2d which cmake ]; + enableParallelBuilding = true; + installPhase = '' make DESTDIR=.. install mkdir -p $out/bin |