about summary refs log tree commit diff stats
path: root/nix/overlays/default.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-05-04 12:38:32 +0200
committerAlan Pearce2024-05-04 14:49:08 +0200
commitdf2a55f82d5efeed8c59c5cf3b4e7381c97959b5 (patch)
treedb5fe1e53a4317fa8d35ef9596a082ac20fe70de /nix/overlays/default.nix
parent1fb64b09e2dba34784732a61cbebc119cd847803 (diff)
downloadsearchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.tar.lz
searchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.tar.zst
searchix-df2a55f82d5efeed8c59c5cf3b4e7381c97959b5.zip
chore: use prettier with plugin to format go templates
Diffstat (limited to 'nix/overlays/default.nix')
-rw-r--r--nix/overlays/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/overlays/default.nix b/nix/overlays/default.nix
new file mode 100644
index 0000000..3e5c925
--- /dev/null
+++ b/nix/overlays/default.nix
@@ -0,0 +1,6 @@
+self: super: {
+  nodePackages = super.nodePackages.extend
+    (final: prev:
+      super.callPackage ./prettier-plugin-go-template { }
+    );
+}