systemd: Remove accidential sysinit re-add

0423158e10 re-introduced a previously
removed mv call.
This commit is contained in:
Janne Heß
2022-05-05 14:55:40 -07:00
committed by Bernardo Meurer
parent a97b262ba6
commit 509e2b499e
@@ -641,12 +641,6 @@ stdenv.mkDerivation {
'';
postInstall = ''
# sysinit.target: Don't depend on
# systemd-tmpfiles-setup.service. This interferes with NixOps's
# send-keys feature (since sshd.service depends indirectly on
# sysinit.target).
mv $out/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service $out/lib/systemd/system/multi-user.target.wants/
mkdir -p $out/example/systemd
mv $out/lib/{modules-load.d,binfmt.d,sysctl.d,tmpfiles.d} $out/example
mv $out/lib/systemd/{system,user} $out/example/systemd