nano: remove unnecessary Darwin-specific behavior
It seems to compile just fine without this now that we're on 2.8.1
This commit is contained in:
parent
75f1a55fbe
commit
1fd7bf9ee3
@ -36,15 +36,6 @@ in stdenv.mkDerivation rec {
|
|||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
${optionalString (!enableNls) "--disable-nls"}
|
${optionalString (!enableNls) "--disable-nls"}
|
||||||
${optionalString enableTiny "--enable-tiny"}
|
${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 = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user