warp-plus: use go_1_24
Drop -w from ldflags because -s already implies -w Move to finalAttrs pattern Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
buildGo124Module,
|
||||
fetchFromGitHub,
|
||||
|
||||
nix-update-script,
|
||||
@@ -8,7 +8,9 @@
|
||||
warp-plus,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
# fails with go 1.25, downgrade to 1.24
|
||||
# error tls.ConnectionState: struct field count mismatch: 17 vs 16
|
||||
buildGo124Module (finalAttrs: {
|
||||
pname = "warp-plus";
|
||||
version = "1.2.6-unstable-2025-10-28";
|
||||
|
||||
@@ -23,8 +25,7 @@ buildGoModule rec {
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
patches = [
|
||||
@@ -59,4 +60,4 @@ buildGoModule rec {
|
||||
maintainers = with lib.maintainers; [ phanirithvij ];
|
||||
mainProgram = "warp-plus";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user