From 8737735796c80bd2a23fd85fbd79e70026ab63b2 Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Fri, 3 Jan 2025 19:11:48 +0000 Subject: [PATCH] flake.nix: Document how to update gomod2nix.toml. --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d24c6ceae..99dcbda46 100644 --- a/flake.nix +++ b/flake.nix @@ -48,7 +48,10 @@ }; }); - # `nix develop` provides a shell containing development tools. + # "nix develop" provides a shell containing development tools. + # + # "nix develop --command gomod2nix" should be run to update gomod2nix.toml + # after updating Go module dependencies. devShell = forAllSystems ({ system, pkgs }: pkgs.mkShell { buildInputs = with pkgs; [