diff options
author | Yureka <yuka@yuka.dev> | 2023-09-05 19:15:11 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-09-06 10:42:31 +0200 |
commit | 9810f10ffc56f2dcc529f8fa79eed8bcf6aabcd7 (patch) | |
tree | 0e5d5ad78709108639e49549e14dda5deabe4245 /pkgs/servers/monitoring | |
parent | 105ba21e080b6ef920c99add8077ea55071e9487 (diff) |
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.
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/net-snmp/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index b7d59e0079278..638d7fad330ca 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" ]; |