summary refs log tree commit diff
path: root/pkgs/applications/editors/nano
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-04-12 20:30:07 -0400
committerDan Peebles <pumpkin@me.com>2017-04-12 20:30:07 -0400
commit1fd7bf9ee3e7e26526aca139ea881afd478932c3 (patch)
tree5bab05bcfd85de743bfe4133621745264bb02be4 /pkgs/applications/editors/nano
parent75f1a55fbe8a98b497828fd77f6c117d587a62da (diff)
downloadnixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar.gz
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar.bz2
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar.lz
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar.xz
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.tar.zst
nixlib-1fd7bf9ee3e7e26526aca139ea881afd478932c3.zip
nano: remove unnecessary Darwin-specific behavior
It seems to compile just fine without this now that we're on 2.8.1
Diffstat (limited to 'pkgs/applications/editors/nano')
-rw-r--r--pkgs/applications/editors/nano/default.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix
index 645880a13e05..bfc3b7c79faf 100644
--- a/pkgs/applications/editors/nano/default.nix
+++ b/pkgs/applications/editors/nano/default.nix
@@ -36,15 +36,6 @@ in stdenv.mkDerivation rec {
     --sysconfdir=/etc
     ${optionalString (!enableNls) "--disable-nls"}
     ${optionalString enableTiny "--enable-tiny"}
-  ''
-  # Unclear why (perhaps an impurity?) but for some reason it decides that REG_ENHANCED is available
-  # during configure but then can't find it at build time.
-    + optionalString stdenv.isDarwin ''
-    nano_cv_flag_reg_extended=REG_EXTENDED
-  '';
-
-  postPatch = optionalString stdenv.isDarwin ''
-    substituteInPlace src/text.c --replace "__time_t" "time_t"
   '';
 
   postInstall = ''