roadrunner: refactor
This commit is contained in:
parent
db4b8e4bb3
commit
74f9ef5b2e
1 changed files with 4 additions and 3 deletions
|
@ -7,10 +7,11 @@
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "roadrunner";
|
pname = "roadrunner";
|
||||||
version = "2024.1.1";
|
version = "2024.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "roadrunner";
|
repo = "roadrunner";
|
||||||
owner = "roadrunner-server";
|
owner = "roadrunner-server";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-uSc4dVDw4aXuo0mKPhsXLYfifpu4c+L7AQXaDgTkvTc=";
|
hash = "sha256-uSc4dVDw4aXuo0mKPhsXLYfifpu4c+L7AQXaDgTkvTc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,8 +23,8 @@ buildGoModule rec {
|
||||||
# https://github.com/roadrunner-server/roadrunner/blob/fe572d0eceae8fd05225fbd99ba50a9eb10c4393/.github/workflows/release.yml#L89
|
# https://github.com/roadrunner-server/roadrunner/blob/fe572d0eceae8fd05225fbd99ba50a9eb10c4393/.github/workflows/release.yml#L89
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-X github.com/roadrunner-server/roadrunner/v2023/internal/meta.version=${version}"
|
"-X=github.com/roadrunner-server/roadrunner/v2023/internal/meta.version=${version}"
|
||||||
"-X github.com/roadrunner-server/roadrunner/v2023/internal/meta.buildTime=1970-01-01T00:00:00Z"
|
"-X=github.com/roadrunner-server/roadrunner/v2023/internal/meta.buildTime=1970-01-01T00:00:00Z"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue