From 71b0de10199e8b1cc184fead33eaec4819698a9d Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 23 Feb 2018 01:50:04 +0200 Subject: [PATCH] rogue: Fix build after ncurses5 changes Fixes build after commit 3d24ae9b4426bb8adfcb08de57be21fdf0a377f8: https://hydra.nixos.org/build/69789236 Thanks to dtzWill for the pointer: https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351 --- pkgs/games/rogue/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/rogue/default.nix b/pkgs/games/rogue/default.nix index 05fd9ab523b..40f0b175494 100644 --- a/pkgs/games/rogue/default.nix +++ b/pkgs/games/rogue/default.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation { buildInputs = [ ncurses ]; + # Fix build for recent ncurses versions + NIX_CFLAGS_COMPILE = [ "-DNCURSES_INTERNALS=1" ]; + meta = { homepage = http://rogue.rogueforge.net/rogue-5-4/; description = "The final version of the original Rogue game developed for the UNIX operating system";