diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index bd8049699514..d2a908464b6f 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/ '';