diff options
author | Eric Seidel <gridaphobe@gmail.com> | 2015-03-27 12:05:19 -0700 |
---|---|---|
committer | Eric Seidel <gridaphobe@gmail.com> | 2015-03-27 12:05:41 -0700 |
commit | 7f0e6b76ff9e1a548b5f251b5737b781df226e8b (patch) | |
tree | f9ce727142731e244707f471f1dbfa3b5481f7ae /pkgs/applications/editors | |
parent | f0742a4bfbbd9e66840fd422a5db3d0a21e331ce (diff) | |
download | nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar.gz nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar.bz2 nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar.lz nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar.xz nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.tar.zst nixpkgs-7f0e6b76ff9e1a548b5f251b5737b781df226e8b.zip |
nano: patch for darwin
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/nano/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index 3e777207fd0..e7b96bd4b7d 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -23,6 +23,10 @@ stdenv.mkDerivation rec { ${optionalString enableTiny "--enable-tiny"} ''; + postPatch = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace src/text.c --replace "__time_t" "time_t" + ''; + meta = { homepage = http://www.nano-editor.org/; description = "A small, user-friendly console text editor"; |