From 9810f10ffc56f2dcc529f8fa79eed8bcf6aabcd7 Mon Sep 17 00:00:00 2001 From: Yureka Date: Tue, 5 Sep 2023 19:15:11 +0200 Subject: [PATCH] net-snmp: update musl patches from alpine Use fetchurl instead of fetchpatch, since the files are static. The hashes of the existing patches are verified to be the same. --- pkgs/servers/monitoring/net-snmp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index b7d59e007927..638d7fad330c 100644 --- a/pkgs/servers/monitoring/net-snmp/default.nix +++ b/pkgs/servers/monitoring/net-snmp/default.nix @@ -18,13 +18,14 @@ in stdenv.mkDerivation rec { }; patches = - let fetchAlpinePatch = name: sha256: fetchpatch { - url = "https://git.alpinelinux.org/aports/plain/main/net-snmp/${name}?id=f25d3fb08341b60b6ccef424399f060dfcf3f1a5"; + let fetchAlpinePatch = name: sha256: fetchurl { + url = "https://git.alpinelinux.org/aports/plain/main/net-snmp/${name}?id=ebb21045c31f4d5993238bcdb654f21d8faf8123"; inherit name sha256; }; in [ (fetchAlpinePatch "fix-includes.patch" "0zpkbb6k366qpq4dax5wknwprhwnhighcp402mlm7950d39zfa3m") (fetchAlpinePatch "netsnmp-swinst-crash.patch" "0gh164wy6zfiwiszh58fsvr25k0ns14r3099664qykgpmickkqid") + (fetchAlpinePatch "fix-fd_mask.patch" "/i9ve61HjDzqZt+u1wajNtSQoizl+KePvhcAt24HKd0=") ]; outputs = [ "bin" "out" "dev" "lib" ];