about summary refs log tree commit diff
path: root/pkgs/applications/editors/nano
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2023-09-13 08:56:11 +0200
committerEmery Hemingway <ehmry@posteo.net>2023-09-13 08:56:11 +0200
commitd14ea5ecd17bdf19824d0fab5cf26af769ced98b (patch)
treef00175dc9dc8d8c4d3567eda347d475d4aacfd9f /pkgs/applications/editors/nano
parent5d2b2523a0442fd19294359b31b8535696c32984 (diff)
nano: fix tiny build
Diffstat (limited to 'pkgs/applications/editors/nano')
-rw-r--r--pkgs/applications/editors/nano/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix
index 5b51f9563c390..eb76503308647 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/
   '';