summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd/default.nix
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-08-22 04:14:36 +0200
committernikstur <nikstur@outlook.com>2023-09-13 12:02:41 +0200
commit97ee93da1036db7425a5cefd00085fcf8c813504 (patch)
treef25aff1f51a3f37cdcda7bcb780bd0f812928798 /pkgs/os-specific/linux/systemd/default.nix
parent79c3740ee55133a0fd24e862a3ccf31804cbd657 (diff)
downloadnixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar.gz
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar.bz2
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar.lz
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar.xz
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.tar.zst
nixpkgs-97ee93da1036db7425a5cefd00085fcf8c813504.zip
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.
Diffstat (limited to 'pkgs/os-specific/linux/systemd/default.nix')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix3
1 files changed, 3 insertions, 0 deletions
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 {