mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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.
This commit is contained in:
parent
105ba21e08
commit
9810f10ffc
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user