Add some notes to flake.nix and nix/prefetcher.nix

Notes are to describe `pkgs.buildGoModule` mapping in Nixpkgs.
This commit is contained in:
Whovian9369
2023-12-22 21:23:57 -05:00
parent d3f58e025a
commit 23311218a1
2 changed files with 7 additions and 6 deletions

View File

@@ -33,6 +33,8 @@
version = substring 0 8 self.rev or "dirty";
vendorSha256 = readFile ./nix/vendor-sha256;
buildGoModule = pkgs.buildGoModule;
# As of writing, `pkgs.buildGoModule` is aliased to
# `pkgs.buildGo121Module` in Nixpkgs.
};
# Build packwiz by default when no package name is specified
default = packwiz;