mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nano: patch for darwin
This commit is contained in:
parent
f0742a4bfb
commit
7f0e6b76ff
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user