flakes/overlays/netbird/default.nix
Chinmay D. Pai 116efaa3c7
chore: update netbird to 0.30.0
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-10-06 16:03:20 +05:30

27 lines
698 B
Nix

_: _self: super: let
version = "0.30.0";
in {
netbird = super.netbird.override {
buildGoModule = args:
super.buildGo123Module (
args
// {
inherit version;
src = super.fetchFromGitHub {
owner = "netbirdio";
repo = "netbird";
rev = "v${version}";
hash = "sha256-YtKGiF45fNoiYQFTE3NReUaosRGDJOyjfqtc+tBKopI=";
};
vendorHash = "sha256-t6kqEmL2lKKYlqxaQ1OsAvB3BSmmyfogghGoE9jw+AI=";
ldflags = [
"-s"
"-w"
"-X github.com/netbirdio/netbird/version.version=${version}"
"-X main.builtBy=nix"
];
}
);
};
}