diff options
author | lassulus <lass@lassul.us> | 2017-06-15 20:02:20 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-06-15 20:02:20 +0200 |
commit | fde07d4e5ed92309ca1c7570c936ec3d324ca2f3 (patch) | |
tree | c65814c4caecab5bf833dca05477e622c86b93d5 /Makefile | |
parent | e0f2449d526ba0f6a5bb8feebb8ca67bbc822554 (diff) | |
parent | ea468604d36257d182580d689035379b7ff8d78e (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -83,7 +83,12 @@ deploy: $(MAKE) populate debug=false $(ssh) $(target_user)@$(target_host) -p $(target_port) \ env STOCKHOLM_VERSION="$$STOCKHOLM_VERSION" \ - nixos-rebuild $(rebuild-command) --show-trace -I $(target_path) + nixos-rebuild -Q $(rebuild-command) --show-trace -I $(target_path) \ + |& if type whatsupnix 2>/dev/null; then \ + whatsupnix $(target_user)@$(target_host):$(target_port); \ + else \ + cat; \ + fi # usage: make populate system=foo populate: populate-target = \ |