From 97ee93da1036db7425a5cefd00085fcf8c813504 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 22 Aug 2023 04:14:36 +0200 Subject: systemd: apply upstream patch for tmpfiles This fixes notably the fact that /dev/zfs was not usable anymore as a user, and potentially other things. Tracked in systemd upstream under issue number 28653, 28765. --- pkgs/os-specific/linux/systemd/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/os-specific/linux/systemd/default.nix') diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index d858e68f31b..f6ba3cb2b85 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -201,6 +201,9 @@ stdenv.mkDerivation (finalAttrs: { ./0016-inherit-systemd-environment-when-calling-generators.patch ./0017-core-don-t-taint-on-unmerged-usr.patch ./0018-tpm2_context_init-fix-driver-name-checking.patch + # Remove when https://github.com/systemd/systemd/pull/28784 lands + # as a point release. + ./0019-units-introduce-systemd-tmpfiles-setup-dev-early.ser.patch ] ++ lib.optional stdenv.hostPlatform.isMusl ( let oe-core = fetchzip { -- cgit 1.4.1