nvrh: no go version substitution in go.mod
This commit is contained in:
parent
ded2d32fc0
commit
490a96b16b
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user