diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index cbb53a8f9991..a8e24956fda8 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -32,7 +32,7 @@ in stdenv.mkDerivation rec { (lib.enableFeature enableTiny "tiny") ]; - postInstall = '' + postInstall = if enableTiny then null else '' cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/ '';