···240 ]
241 ++ lib.optionals stdenv.hostPlatform.isMusl (
242 let
243+ # NOTE: the master-next branch does not have stable URLs.
244+ # If we need patches that aren't in master yet, they'll have to be
245+ # vendored.
246 oe-core = fetchzip {
247+ url = "https://git.openembedded.org/openembedded-core/snapshot/openembedded-core-4891f47cdaf919033bf1c02cc12e4805e5db99a0.tar.gz";
248+ hash = "sha256-YKL/oC+rPZ2EEVNidEV+pJihZgUv7vLb0OASplgktn4=";
249 };
250 in
251 map (patch: "${oe-core}/meta/recipes-core/systemd/systemd/${patch}") [