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 -> ()