1
0
Fork 0

tools/install.sh: soft requirement on nix

master
q3k 2019-05-15 19:13:11 +02:00
parent 1e6b52a194
commit bb77892924
1 changed files with 8 additions and 2 deletions

View File

@ -9,5 +9,11 @@ cd "${hscloud_root}"
bazel build \
//tools:kubectl //tools:kubecfg //tools:secretstore \
//tools:pass //tools:calicoctl.bin //tools:cfssl \
//tools:nixops
//tools:pass //tools:calicoctl.bin //tools:cfssl
if [ ! -e /nix ] ; then
echo "WARNING: No Nix installation detected. nix-dependent tools (nixops) will not be built or available."
else
bazel build \
//tools:nixops
fi