2024-09-02 18:31:19 +05:30
|
|
|
_: _self: super: let
|
2024-09-22 15:06:11 +05:30
|
|
|
version = "0.29.4";
|
2024-09-02 18:31:19 +05:30
|
|
|
in {
|
|
|
|
netbird = super.netbird.override {
|
2024-10-05 20:51:41 +05:30
|
|
|
buildGoModule = args:
|
2024-09-22 15:06:11 +05:30
|
|
|
super.buildGo123Module (
|
2024-09-02 18:31:19 +05:30
|
|
|
args
|
|
|
|
// {
|
|
|
|
inherit version;
|
|
|
|
src = super.fetchFromGitHub {
|
|
|
|
owner = "netbirdio";
|
|
|
|
repo = "netbird";
|
|
|
|
rev = "v${version}";
|
2024-09-22 15:06:11 +05:30
|
|
|
hash = "sha256-W71CE83r/RcPdBjzfT+FSh72UcKcTmIuagkrC1eaeNk=";
|
2024-09-02 18:31:19 +05:30
|
|
|
};
|
2024-09-22 15:06:11 +05:30
|
|
|
vendorHash = "sha256-CD34U+Z8bUKN0Z4nxIVC+mYDp71Q8q1bmUypRDGgb3U=";
|
2024-09-02 18:31:19 +05:30
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X github.com/netbirdio/netbird/version.version=${version}"
|
|
|
|
"-X main.builtBy=nix"
|
|
|
|
];
|
|
|
|
}
|
|
|
|
);
|
|
|
|
};
|
|
|
|
}
|