Wall hit: systemd calls binaries like mount etc. First problem: they are hardcoded paths to the nix store, and it's hard to change those references. Possible solution: rebuild systemd in order to call /bin/mount instead. That's easy.
Second problem: after switching root, those binaries are no more available. Not only, even if they were, they would be the busybox binaries. Possible solution: hardcode systemd paths to use /run/current-system/sw/bin. In initrd it would be a matter of creating the directory. Thoughts? Best regards,
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev