From d14ea5ecd17bdf19824d0fab5cf26af769ced98b 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 --- 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 5b51f9563c39..eb7650330864 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/ '';