From df2a55f82d5efeed8c59c5cf3b4e7381c97959b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 4 May 2024 12:38:32 +0200 Subject: chore: use prettier with plugin to format go templates --- nix/overlays/prettier-plugin-go-template/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nix/overlays/prettier-plugin-go-template/default.nix (limited to 'nix/overlays/prettier-plugin-go-template/default.nix') diff --git a/nix/overlays/prettier-plugin-go-template/default.nix b/nix/overlays/prettier-plugin-go-template/default.nix new file mode 100644 index 0000000..d9c0dae --- /dev/null +++ b/nix/overlays/prettier-plugin-go-template/default.nix @@ -0,0 +1,17 @@ +# This file has been generated by node2nix 1.11.1. Do not edit! + +{pkgs ? import { + inherit system; + }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_18"}: + +let + nodeEnv = import ./node-env.nix { + inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript; + inherit pkgs nodejs; + libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; + }; +in +import ./node-packages.nix { + inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; + inherit nodeEnv; +} -- cgit 1.4.1