Skip to content

Commit 14ec308

Browse files
committedNov 29, 2017
nano: fix darwin build
Broken by 366f152 in #32140.
1 parent db0c2be commit 14ec308

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
 

Diff for: ‎pkgs/applications/editors/nano/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ in stdenv.mkDerivation rec {
2727
sha256 = "0z5sxji8jh8sh0g3inbzndhsrbm4qyqlvjrxl5wkxbr61lnxa5k3";
2828
};
2929

30+
patches = [ ./nano-2.9.1-darwin.patch ];
31+
3032
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
3133
buildInputs = [ ncurses ];
3234

@@ -42,6 +44,8 @@ in stdenv.mkDerivation rec {
4244
cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/
4345
'';
4446

47+
enableParallelBuilding = true;
48+
4549
meta = {
4650
homepage = https://www.nano-editor.org/;
4751
description = "A small, user-friendly console text editor";
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
--- a/lib/stat.c
2+
+++ b/lib/stat.c
3+
@@ -48,4 +48,6 @@ orig_stat (const char *filename, struct stat *buf)
4+
#include "sys/stat.h"
5+
6+
+#include "stat-time.h"
7+
+
8+
#include <errno.h>
9+
#include <limits.h>

0 commit comments

Comments
 (0)
Please sign in to comment.