Skip to content

Commit

Permalink
flake.nix: Document how to update gomod2nix.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Jan 3, 2025
1 parent c165768 commit 8737735
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [
Expand Down

0 comments on commit 8737735

Please sign in to comment.