summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/infest/install-nix.sh
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-17 15:48:53 +0200
committerlassulus <lass@aidsballs.de>2015-10-17 15:48:53 +0200
commit72d15b226620c5d3248dd545748cff6c0bfcc049 (patch)
tree5f34949a7bfc90e091e8aad997cf878c81bfd582 /krebs/4lib/infest/install-nix.sh
parentfb945f741d709ec198cbf534ad0da2c623abac76 (diff)
krebs 4 infest: add arch-infest and refactor
Diffstat (limited to 'krebs/4lib/infest/install-nix.sh')
-rw-r--r--krebs/4lib/infest/install-nix.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/krebs/4lib/infest/install-nix.sh b/krebs/4lib/infest/install-nix.sh
index 88c8c3e1e..af1a8bd16 100644
--- a/krebs/4lib/infest/install-nix.sh
+++ b/krebs/4lib/infest/install-nix.sh
@@ -19,16 +19,9 @@ install_nix() {(
)
nix_src_dir=$(basename $nix_url .tar.bz2)
tar jxf $nix_src_dir.tar.bz2
- mkdir -v -m 0755 -p /nix
$nix_src_dir/install
fi
- #TODO: make this general or move to prepare
- if ! mount | grep -Fq '/dev/mapper/centos-root on /mnt/nix type xfs'; then
- mkdir -p /mnt/nix
- mount --bind /nix /mnt/nix
- fi
-
. /root/.nix-profile/etc/profile.d/nix.sh
for i in \