Skip to content

Commit 6a2d104

Browse files
committed
musl: add patch to relax umask; fixes NixOS#285141
1 parent 0ea23c2 commit 6a2d104

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ stdenv.mkDerivation rec {
7777
url = "https://git.musl-libc.org/cgit/musl/patch/?id=751bee0ee727e8d8b003c87cff77ac76f1dbecd6";
7878
sha256 = "sha256-qCw132TCSaZrkISmtDb8Q8ufyt8sAJdwACkvfwuoi/0=";
7979
})
80+
81+
# fix issue #285141, installed symlinks are unreadable on darwin
82+
(fetchurl {
83+
url = "https://github.com/timbertson/musl/compare/f314e133929b6379eccc632bef32eaebb66a7335...05b89f783fd1873ce9ec1127fa76d002921caa23.patch";
84+
sha256 = "sha256-DeZE4HvPNxmFKKttAPOBGEBPo8l3QHvACaW067iiJ9g=";
85+
})
8086
];
8187
CFLAGS = [ "-fstack-protector-strong" ]
8288
++ lib.optional stdenv.hostPlatform.isPower "-mlong-double-64";

0 commit comments

Comments
 (0)