flakes/overlays/netbird/default.nix
Chinmay D. Pai 66e7dab5aa
chore: update netbird to 0.29.4
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-22 15:06:11 +05:30

27 lines
698 B
Nix

_: _self: super: let
version = "0.29.4";
in {
netbird = super.netbird.override {
buildGoModule = args:
super.buildGo123Module (
args
// {
inherit version;
src = super.fetchFromGitHub {
owner = "netbirdio";
repo = "netbird";
rev = "v${version}";
hash = "sha256-W71CE83r/RcPdBjzfT+FSh72UcKcTmIuagkrC1eaeNk=";
};
vendorHash = "sha256-CD34U+Z8bUKN0Z4nxIVC+mYDp71Q8q1bmUypRDGgb3U=";
ldflags = [
"-s"
"-w"
"-X github.com/netbirdio/netbird/version.version=${version}"
"-X main.builtBy=nix"
];
}
);
};
}