Unverified Commit 490a96b1 authored by Aaron Jheng's avatar Aaron Jheng
Browse files

nvrh: no go version substitution in go.mod

parent ded2d32f
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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"