packwiz/nix/prefetcher.nix
Whovian9369 23311218a1 Add some notes to flake.nix and nix/prefetcher.nix
Notes are to describe `pkgs.buildGoModule` mapping in Nixpkgs.
2023-12-22 21:23:57 -05:00

17 lines
392 B
Nix

{
sha256,
pkgs ? import <nixpkgs> {},
}:
pkgs.callPackage (import ./.) {
buildGoModule = pkgs.buildGoModule;
## As of writing, `pkgs.buildGoModule` is aliased to
## `pkgs.buildGo121Module` in Nixpkgs.
## `buildGoModule` is set as `pkgs.buildGoModule` to try and work around
## `vendorHash` issues in the future.
vendorSha256 = sha256;
}
// {
outputHash = sha256;
}