From c79bb68270abd6e5a59e36bf09d64b2eb0d23fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 25 Apr 2019 19:41:41 +0200 Subject: Add makefile and remove nixops dependency --- nixops/scripts/pull_deployment | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'nixops/scripts/pull_deployment') diff --git a/nixops/scripts/pull_deployment b/nixops/scripts/pull_deployment index 8ee9b75..d238434 100755 --- a/nixops/scripts/pull_deployment +++ b/nixops/scripts/pull_deployment @@ -8,16 +8,17 @@ if [ -z "$NIXOPS_CONFIG_PASS_SUBTREE_PATH" ]; then fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +nixops="$(nix-build --no-out-link -A nixops "$(dirname $(dirname $DIR))")/bin/nixops" export NIXOPS_STATE="$(dirname $DIR)/state/eldiron.nixops" -if nixops info -d $DeploymentUuid 2>/dev/null >/dev/null; then +if $nixops info -d $DeploymentUuid 2>/dev/null >/dev/null; then cat <