nano: 2.6.2 -> 2.6.3

Add patch to make Darwin happy & fix #17835

obadz 3f783e7f 6c7fb932

+9
+9
pkgs/applications/editors/nano/default.nix
··· 26 26 ${optionalString enableTiny "--enable-tiny"} 27 27 ''; 28 28 29 + patchFlags = [ "-p0" ]; 30 + 31 + patches = optional stdenv.isDarwin 32 + (fetchurl { 33 + name = "darwin.patch"; 34 + url = "https://trac.macports.org/browser/trunk/dports/editors/nano/files/patch-src-winio.c.diff?rev=151356&format=txt"; 35 + sha256 = "184q33irz9px2svwr2qx70zvfby5zlwlhv4k607yzsy90fq2jpdd"; 36 + }); 37 + 29 38 postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 30 39 substituteInPlace src/text.c --replace "__time_t" "time_t" 31 40 '';