1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

nano: 2.9.1 -> 2.9.2

This commit is contained in:
Tuomas Tynkkynen 2018-01-06 17:39:40 +02:00
parent c589bdd66d
commit 6989369c88
2 changed files with 2 additions and 13 deletions

View file

@ -20,15 +20,13 @@ let
in stdenv.mkDerivation rec {
name = "nano-${version}";
version = "2.9.1";
version = "2.9.2";
src = fetchurl {
url = "mirror://gnu/nano/${name}.tar.xz";
sha256 = "0z5sxji8jh8sh0g3inbzndhsrbm4qyqlvjrxl5wkxbr61lnxa5k3";
sha256 = "0m9xm085pi0fhmmshgppipjimr1jkxksbyg8pa5cwaap3d2vgk2f";
};
patches = [ ./nano-2.9.1-darwin.patch ];
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
buildInputs = [ ncurses ];

View file

@ -1,9 +0,0 @@
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -48,4 +48,6 @@ orig_stat (const char *filename, struct stat *buf)
#include "sys/stat.h"
+#include "stat-time.h"
+
#include <errno.h>
#include <limits.h>