nano: fix on Darwin

The latest update broke it

+5
+5
pkgs/applications/editors/nano/default.nix
··· 36 36 --sysconfdir=/etc 37 37 ${optionalString (!enableNls) "--disable-nls"} 38 38 ${optionalString enableTiny "--enable-tiny"} 39 + '' 40 + # Unclear why (perhaps an impurity?) but for some reason it decides that REG_ENHANCED is available 41 + # during configure but then can't find it at build time. 42 + + optionalString stdenv.isDarwin '' 43 + nano_cv_flag_reg_extended=REG_EXTENDED 39 44 ''; 40 45 41 46 postPatch = optionalString stdenv.isDarwin ''