Merge pull request #144723 from trofi/fix-nudoku-for-ncurses-6.3

authored by

Sandro and committed by
GitHub
78e9fa8b 1e582f8a

+10 -1
+10 -1
pkgs/games/nudoku/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext, ncurses }: 2 3 stdenv.mkDerivation rec { 4 pname = "nudoku"; ··· 10 rev = version; 11 sha256 = "12v00z3p0ymi8f3w4b4bgl4c76irawn3kmd147r0ap6s9ssx2q6m"; 12 }; 13 14 # Allow gettext 0.20 15 postPatch = ''
··· 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, gettext, ncurses }: 2 3 stdenv.mkDerivation rec { 4 pname = "nudoku"; ··· 10 rev = version; 11 sha256 = "12v00z3p0ymi8f3w4b4bgl4c76irawn3kmd147r0ap6s9ssx2q6m"; 12 }; 13 + 14 + patches = [ 15 + # Pull upstream fix for ncurses-6.3 16 + (fetchpatch { 17 + name = "ncurses-6.3.patch"; 18 + url = "https://github.com/jubalh/nudoku/commit/93899a0fd72e04b9f257e5f54af53466106b5959.patch"; 19 + sha256 = "1h3za0dnx8fk3vshql5mhcici8aw8j0vr7ra81p3r1rii4c479lm"; 20 + }) 21 + ]; 22 23 # Allow gettext 0.20 24 postPatch = ''