2828 # stable is on an older patch-release of Go and then the build would fail
2929 # after a backport.
3030 patchGoVersion = ''
31- find . -name go.mod -not -path "./.bingo/*" -print0 | while IFS= read -r -d ''' line; do
31+ find . -name go.mod -not -path "./.bingo/*" -and -not -path "./hack/*" -and -not -path "./.citools/*" - print0 | while IFS= read -r -d ''' line; do
3232 substituteInPlace "$line" \
33- --replace-fail "go 1.24.4 " "go 1.24.0"
33+ --replace-fail "go 1.24.6 " "go 1.24.0"
3434 done
3535 find . -name go.work -print0 | while IFS= read -r -d ''' line; do
3636 substituteInPlace "$line" \
37- --replace-fail "go 1.24.4 " "go 1.24.0"
37+ --replace-fail "go 1.24.6 " "go 1.24.0"
3838 done
3939 substituteInPlace Makefile \
40- --replace-fail "GO_VERSION = 1.24.4 " "GO_VERSION = 1.24.0"
40+ --replace-fail "GO_VERSION = 1.24.6 " "GO_VERSION = 1.24.0"
4141 '' ;
4242in
4343buildGoModule rec {
4444 pname = "grafana" ;
45- version = "12.1.0 " ;
45+ version = "12.1.1 " ;
4646
4747 subPackages = [
4848 "pkg/cmd/grafana"
@@ -54,7 +54,7 @@ buildGoModule rec {
5454 owner = "grafana" ;
5555 repo = "grafana" ;
5656 rev = "v${ version } " ;
57- hash = "sha256-yraCuPLe68ryCgFzOZPL1H/JYynEvxijjgxMmQvcPZE =" ;
57+ hash = "sha256-41OqvOTHlP66UtAecrpeArKldj0DNxK1oxTtQEihbo8 =" ;
5858 } ;
5959
6060 # Fix build
@@ -78,14 +78,14 @@ buildGoModule rec {
7878 missingHashes = ./missing-hashes.json ;
7979 offlineCache = yarn-berry_4 . fetchYarnBerryDeps {
8080 inherit src missingHashes ;
81- hash = "sha256-+0L68wHR2nCp1g1PqyLIYatc+CIbvLqVUDa7CoyV/fo =" ;
81+ hash = "sha256-51jCwnfWJoBICesM3SKiEvRC/Q1qUD310q59DucPdMs =" ;
8282 } ;
8383
8484 disallowedRequisites = [ offlineCache ] ;
8585
8686 postPatch = patchGoVersion ;
8787
88- vendorHash = "sha256-a31jJN1NIHihFwbtBuLzV4lRKYWv8GtIHh6EwVMWdbM =" ;
88+ vendorHash = "sha256-9z3HqheXLNh3zfmp1A620vzzf5yZBUJsbj/cc6J+xTg =" ;
8989
9090 proxyVendor = true ;
9191
0 commit comments