@@ -0,0 +1,31 @@
4+if ! [ $# -eq 0 ]; then
8+# should download this in the future
9+# but the mirror is down
10+proot=`dirname $0`/proot-`uname -p`
11+export PROOT_NO_SECCOMP=1
13+if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi
15+if [ -z "$IN_PROOT" ]; then
18+ if ! [ -d $HOME/.nix ]; then
21+ curl https://nixos.org/nix/install -o $s
22+ $proot -b $HOME/.nix:/nix $0 sh $s
25+ $proot -b $HOME/.nix:/nix $0 $cmd
29+elif ! [ $# -eq 0 ]; then