From 47201aca437979d60f6d88046d2f42babbc5196e Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Wed, 13 Sep 2023 08:56:11 +0200 Subject: [PATCH] nano: fix tiny build (cherry picked from commit d14ea5ecd17bdf19824d0fab5cf26af769ced98b) --- pkgs/applications/editors/nano/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ '';