mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 23:51:03 +00:00
prometheus: 3.13.0 → 3.13.1 (#540466)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
version = "3.13.0";
|
||||
hash = "sha256-v6jk4MqoxcfK+yj+T31Ovqj1tyh3mc4aEr8BD0vjBOc=";
|
||||
version = "3.13.1";
|
||||
hash = "sha256-DtUdZp/o/tzLjiOZJ3duGqaLoNvkzulbL+wyLnY0dwA=";
|
||||
pnpmDepsHash = "sha256-Z1TYYZhELi+rIiuleN8xR/WiMn9TF4KotFMTOsR2e6Y=";
|
||||
vendorHash = "sha256-yvzQHfe7yd6Sjh1Vd2VxTp3jK8OWoKTmJ2uMyXX3+xs=";
|
||||
}
|
||||
|
||||
@@ -49,9 +49,22 @@ cat > "$SOURCE_NIX" <<-EOF
|
||||
}
|
||||
EOF
|
||||
|
||||
VENDOR_HASH=$(extractHash prometheus.goModules)
|
||||
# Resolve pnpm hash first: the Go integration pulls in the assets, so a fake
|
||||
# pnpmDepsHash makes that stage fail.
|
||||
PNPM_DEPS_HASH=$(extractHash prometheus.assets.pnpmDeps)
|
||||
|
||||
cat > "$SOURCE_NIX" <<-EOF
|
||||
{
|
||||
version = "$TARGET_VERSION";
|
||||
hash = "$PREFETCH_HASH";
|
||||
pnpmDepsHash = "$PNPM_DEPS_HASH";
|
||||
vendorHash = "$FAKE_HASH";
|
||||
}
|
||||
EOF
|
||||
|
||||
# Now do the Go module fetch.
|
||||
VENDOR_HASH=$(extractHash prometheus.goModules)
|
||||
|
||||
cat > "$SOURCE_NIX" <<-EOF
|
||||
{
|
||||
version = "$TARGET_VERSION";
|
||||
|
||||
Reference in New Issue
Block a user