infinisil / nixus

Experimental deployment tool supporting multi-host abstractions
GNU General Public License v3.0
195 stars 15 forks source link

Use `pkgs.runtimeShell` as switch script shell #33

Closed sorki closed 3 years ago

sorki commented 3 years ago

This allows to switch e.g. aarch64 machine from x86 host. Otherwise wrong path is propagated to target. Since bash is already in systemPackages this seems safe to do.

It looks like a hack but it allowed me to deploy rPi from x86 host, marking as draft.

infinisil commented 3 years ago

We discussed this on IRC, it's not a hack anymore with runtimeShell :)