Skip to content

chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1 #13232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Using semi-colon for sed separator since sha256 can contain / but not ;
The encoding appears to be base64, which does not use semi-colons: https://datatracker.ietf.org/doc/html/rfc4648#section-4

Signed-off-by: Danny Kopping <danny@coder.com>
  • Loading branch information
dannykopping committed May 13, 2024
commit ca22653710ff664184f15452c4f5f3fa110bc415
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@
buildFat = osArch:
pkgs.buildGo121Module {
name = "coder-${osArch}";
# Updated with ./scripts/update-flake.nix`.
# Updated with ./scripts/update-flake.sh`.
# This should be updated whenever go.mod changes!
vendorHash = "sha256-pTRr85MtdlsI0iYGAwLAQ3QvtrDR8rDOynYx8FDaRy0=";
vendorHash = "sha256-lzUnofunQ5IK++tl64stN4LqxXYMRK/WbfTQlovKrng="
proxyVendor = true;
src = ./.;
nativeBuildInputs = with pkgs; [ getopt openssl zstd ];
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-flake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ echo "Calculating SRI hash..."
HASH=$(go run tailscale.com/cmd/nardump --sri "$OUT/pkg/mod/cache/download")
sudo rm -rf "$OUT"

sed -i "s/\(vendorHash = \"\)[^\"]*/\1${HASH}/" ./flake.nix
sed -i "s;\(vendorHash = \"\)[^\"]*;\1${HASH};" ./flake.nix
Loading