nvrh: no go version substitution in go.mod

This commit is contained in:
Aaron Jheng 2025-08-14 09:44:49 +08:00
parent ded2d32fc0
commit 490a96b16b
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -17,17 +17,12 @@ buildGoModule (finalAttrs: {
hash = "sha256-9pWeoFah8bxbngqETgi8uGbvUqKUhdiRHmOuxpPmJNs=";
};
postPatch = ''
substituteInPlace go.mod \
--replace-fail "go 1.23.1" "go 1.22.7"
'';
vendorHash = "sha256-DuGMlRdVUMKwghPQjVP3A+epnsA5a15jl84Y8LTPkTM=";
preBuild = ''
cp manifest.json src/
'';
vendorHash = "sha256-DuGMlRdVUMKwghPQjVP3A+epnsA5a15jl84Y8LTPkTM=";
ldflags = [
"-s"
"-w"