Skip to content

Commit 5e2311d

Browse files
committed
1 parent c622182 commit 5e2311d

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

pkgs/os-specific/linux/musl/default.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ let
4040
in
4141
stdenv.mkDerivation rec {
4242
pname = "musl";
43-
version = "1.2.1";
43+
version = "1.2.2";
4444

4545
src = fetchurl {
46-
url = "https://www.musl-libc.org/releases/${pname}-${version}.tar.gz";
47-
sha256 = "0jz8fzwgvfyjgxjbpw35ixdglp2apqjvp8m386f6yr4zacc6xbv8";
46+
url = "https://musl.libc.org/releases/${pname}-${version}.tar.gz";
47+
sha256 = "1p8r6bac64y98ln0wzmnixysckq3crca69ys7p16sy9d04i975lv";
4848
};
4949

5050
enableParallelBuilding = true;
@@ -67,12 +67,6 @@ stdenv.mkDerivation rec {
6767
url = "https://raw.githubusercontent.com/openwrt/openwrt/87606e25afac6776d1bbc67ed284434ec5a832b4/toolchain/musl/patches/300-relative.patch";
6868
sha256 = "0hfadrycb60sm6hb6by4ycgaqc9sgrhh42k39v8xpmcvdzxrsq2n";
6969
})
70-
# wcsnrtombs destination buffer overflow, remove >= 1.2.2
71-
(fetchurl {
72-
name = "CVE-2020-28928.patch";
73-
url = "https://www.openwall.com/lists/oss-security/2020/11/20/4/1";
74-
sha256 = "077n2p165504nz9di6n8y5421591r3lsbcxgih8z26l6mvkhcs2h";
75-
})
7670
];
7771
CFLAGS = [ "-fstack-protector-strong" ]
7872
++ lib.optional stdenv.hostPlatform.isPower "-mlong-double-64";
@@ -149,7 +143,8 @@ stdenv.mkDerivation rec {
149143

150144
meta = with lib; {
151145
description = "An efficient, small, quality libc implementation";
152-
homepage = "http://www.musl-libc.org";
146+
homepage = "https://musl.libc.org/";
147+
changelog = "https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?h=v${version}";
153148
license = licenses.mit;
154149
platforms = platforms.linux;
155150
maintainers = with maintainers; [ thoughtpolice dtzWill ];

0 commit comments

Comments
 (0)