summaryrefslogtreecommitdiffstats
path: root/infest-cac-CentOS-7-64bit.sh
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-06-24 20:10:41 +0200
committertv <tv@shackspace.de>2015-06-24 20:11:02 +0200
commitd4ca5907d67c4f2374b6231ff03d8ed36b39ec96 (patch)
treeadaaca4d329501aeafb20d6cec6afaf81d0bdfe1 /infest-cac-CentOS-7-64bit.sh
parent0fa8921e803876d85e1a0d49d925c2919714ee56 (diff)
s/nixos-fetch-git/fetchgit/
Diffstat (limited to 'infest-cac-CentOS-7-64bit.sh')
-rwxr-xr-xinfest-cac-CentOS-7-64bit.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/infest-cac-CentOS-7-64bit.sh b/infest-cac-CentOS-7-64bit.sh
index 0f2efae6b..6cc39440a 100755
--- a/infest-cac-CentOS-7-64bit.sh
+++ b/infest-cac-CentOS-7-64bit.sh
@@ -5,16 +5,19 @@ serverspec=$1
systemname=$2
(
+ PATH=$PWD/bin:$PATH
+ export PATH
+
# Notice NIX_PATH used from host
# Notice secrets required to evaluate configuration
NIX_PATH=$NIX_PATH:nixos-config=$PWD/modules/$systemname
NIX_PATH=$NIX_PATH:secrets=$PWD/secrets/$systemname/nix
export NIX_PATH
- rev=$(newbin/nixos-query nixpkgs.rev)
- url=$(newbin/nixos-query nixpkgs.url)
+ rev=$(new-nixos-query nixpkgs.rev)
+ url=$(new-nixos-query nixpkgs.url)
- newbin/fetchgit "$rev" "$url" tmp/nixpkgs/$systemname
+ fetchgit "$rev" "$url" tmp/nixpkgs/$systemname
)
./cac poll 10s 2>/dev/null &