aboutsummaryrefslogtreecommitdiff
path: root/nginx-preread-deploy.sh
blob: 2afa68123a0ad7ca2ba3d0cd02091d49497e8165 (plain)
1
2
3
4
5
6
7
#! /bin/sh -e

nginx=$(guix build -f nginx-preread.scm)

echo $nginx
sudo ln --no-target-directory --force --symbolic $nginx/sbin/nginx /usr/local/sbin/nginx
sudo ln --force --symbolic /usr/local/sbin/nginx /var/guix/gcroots