overlay: add example of overlaying buildGoModule
This commit is contained in:
parent
c9c2162e5f
commit
1e71311f28
@ -68,3 +68,19 @@ in {
|
||||
# };
|
||||
# })
|
||||
|
||||
# Example of an overlay that changes the buildGoModule function
|
||||
#tailscale = self: super: {
|
||||
# tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
|
||||
# buildGoModule = args:
|
||||
# super.buildGo119Module (args // rec {
|
||||
# version = "1.32.2";
|
||||
# src = super.fetchFromGitHub {
|
||||
# owner = "tailscale";
|
||||
# repo = "tailscale";
|
||||
# rev = "v${version}";
|
||||
# sha256 = "sha256-CYNHD6TS9KTRftzSn9vAH4QlinqNgU/yZuUYxSvsl/M=";
|
||||
# };
|
||||
# vendorSha256 = "sha256-VW6FvbgLcokVGunTCHUXKuH5+O6T55hGIP2g5kFfBsE=";
|
||||
# });
|
||||
# };
|
||||
#};
|
||||
|
Loading…
Reference in New Issue
Block a user