From 8a17f4b9720e7a5849aba135d0cf7fd9b5d4b191 Mon Sep 17 00:00:00 2001 From: nikstur Date: Sat, 11 Apr 2026 14:24:10 +0200 Subject: [PATCH] systemd: remove replacing modprobe This path is already correctly overriden via the module system on master and thus is unneeded. --- pkgs/os-specific/linux/systemd/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 1d859a689af0..eb1a51f58205 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -599,13 +599,6 @@ stdenv.mkDerivation (finalAttrs: { replacement = "$out/lib/systemd/systemd-fsck"; where = [ "man/systemd-fsck@.service.xml" ]; } - ] - ++ lib.optionals withKmod [ - { - search = "ExecStart=-modprobe"; - replacement = "ExecStart=-${lib.getBin kmod}/bin/modprobe"; - where = [ "units/modprobe@.service" ]; - } ]; # { replacement, search, where, ignore } -> List[str]