Nixpkgs without systemd

What would have to be done to make Nixpkgs init-system agnostic? In other words, why is systemd a dependency for Nixpkgs?

Posted in: s/Nix-NixOs

๐Ÿ”ญ DocEdelgas

2023-07-11 ยท 3 years ago ยท ๐Ÿ‘ emilis, Odintsoff

1 Comment

๐ŸŒ™ dmoonfire ยท 2023-07-12 at 12:37:

I'm guessing because they had to pick one otherwise testing and support would be overwhelming. and systems handles most of the problems in a space that a lot if existing services already support (though telling Ceph not to use systems on Nix was fun).

systemd also handles the reloading that makes nixos-rebuild useful.

...otherwise testing and support of two or more init/mounting/service infrastructures would be...