summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/prelude.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/prelude.sh b/lib/prelude.sh
index b92e030e8..e8c392bf3 100644
--- a/lib/prelude.sh
+++ b/lib/prelude.sh
@@ -25,7 +25,12 @@ clone_or_update() {(
git fetch src
git checkout "$git_rev"
- ' | ssh "$target" env nixpkgs_dir="$nixpkgs_dir" git_url="$git_url" git_rev="$git_rev" /bin/sh
+ ' \
+ | ssh "$target" env \
+ nixpkgs_dir="$nixpkgs_dir" \
+ git_rev="$git_rev" \
+ git_url="$git_url" \
+ /bin/sh
)}
# deploy : nixos-config x [user@]hostname -> ()