about summary refs log tree commit diff
path: root/bin/install-all
blob: 13d9c7423b40d3d51733c65e2166ae27a792c895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ ! -f nix-portable ]; then
  curl -LO https://github.com/DavHau/nix-portable/releases/download/v008/nix-portable
  chmod +x nix-portable

  ./nix-portable nix-channel --add https://github.com/NixOS/nixpkgs/archive/refs/heads/nixos-21.05-small.tar.gz nixos
  ./nix-portable nix-channel --update
  ./nix-portable nix-shell -p cachix --run "cachix use pn"
fi

NP_MINIMAL=1 ./nix-portable nix-shell