systemd: Remove accidential sysinit re-add

0423158e10 re-introduced a previously
removed mv call.
This commit is contained in:
Janne Heß 2022-05-02 13:30:16 +02:00 committed by Bernardo Meurer
parent a97b262ba6
commit 509e2b499e
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -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