systemd: Remove accidential sysinit re-add

0423158e10 re-introduced a previously
removed mv call.
main
Janne Heß 2 years ago committed by Bernardo Meurer
parent a97b262ba6
commit 509e2b499e
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246
  1. 6
      pkgs/os-specific/linux/systemd/default.nix

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

Loading…
Cancel
Save