From 1fd7bf9ee3e7e26526aca139ea881afd478932c3 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Wed, 12 Apr 2017 20:30:07 -0400 Subject: nano: remove unnecessary Darwin-specific behavior It seems to compile just fine without this now that we're on 2.8.1 --- pkgs/applications/editors/nano/default.nix | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pkgs/applications/editors/nano') 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 = '' -- cgit 1.4.1