aboutsummaryrefslogtreecommitdiff
path: root/build-on-hyperion
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-11-28 13:57:10 +0100
committerKatharina Fey <kookie@spacekookie.de>2019-11-28 13:57:10 +0100
commite2987d37400ade5f5b6bbffa6a275e79d25a7145 (patch)
tree3bc4b4d95aa685830db36c85b337930fc23a39be /build-on-hyperion
parent395157293502d8df83f8ec74e11c6a241ebb3feb (diff)
<>: init build-on-hyperion
Diffstat (limited to 'build-on-hyperion')
-rwxr-xr-xbuild-on-hyperion5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-on-hyperion b/build-on-hyperion
new file mode 100755
index 00000000000..402a251defb
--- /dev/null
+++ b/build-on-hyperion
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+drvs="$(nix-instantiate "$@")"
+nix-copy-closure -s --to hyperion $drvs
+nix-copy-closure --from hyperion $(ssh hyperion nix-build $drvs)