about summary refs log tree commit diff
path: root/pkgs/applications/editors/micro
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2022-08-16 02:26:46 +0300
committerNikolay Korotkiy <sikmir@disroot.org>2022-08-16 02:26:46 +0300
commit3ec310d5201fb231b1626787e203165441f0705d (patch)
treeaa42287fdc2879613dd212a4637d5a255658ca8c /pkgs/applications/editors/micro
parent441dc5d512153039f19ef198e662e4f3dbb9fd65 (diff)
micro: fix syntax highlighting
Fix #186861
Diffstat (limited to 'pkgs/applications/editors/micro')
-rw-r--r--pkgs/applications/editors/micro/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/micro/default.nix b/pkgs/applications/editors/micro/default.nix
index 9fc80181533ce..081b038e2307d 100644
--- a/pkgs/applications/editors/micro/default.nix
+++ b/pkgs/applications/editors/micro/default.nix
@@ -24,6 +24,10 @@ buildGoModule rec {
     "-X ${t}/util.CommitHash=${src.rev}"
   ];
 
+  preBuild = ''
+    go generate ./runtime
+  '';
+
   postInstall = ''
     installManPage assets/packaging/micro.1
     install -Dt $out/share/applications assets/packaging/micro.desktop