1 2 3 4 5
#!/bin/sh drvs="$(nix-instantiate "$@")" nix-copy-closure -s --to hyperion $drvs nix-copy-closure --from hyperion $(ssh hyperion nix-build $drvs)