diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix index 2a162525388f..3c4e85a91e5a 100644 --- a/pkgs/games/opendungeons/default.nix +++ b/pkgs/games/opendungeons/default.nix @@ -15,6 +15,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ cmake ogre cegui boost sfml openal ois ]; + NIX_LDFLAGS = [ + "-lpthread" + ]; meta = with stdenv.lib; { description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius.";