aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-05 17:45:15 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-05 17:45:15 +0100
commit31f3df017bc2a35aeefc1a2fcfd5ae1f25667acb (patch)
treed371774db791db8d09a74727437f1e4daca7e28b
parent9653fb4c7b9fa4092160f6b37ec393add132d171 (diff)
downloadgovuk-mini-environment-admin-31f3df017bc2a35aeefc1a2fcfd5ae1f25667acb.tar
govuk-mini-environment-admin-31f3df017bc2a35aeefc1a2fcfd5ae1f25667acb.tar.gz
Install openssl and nss-certs on the build machine
In AWS. This fixes downloading custom revisions of packages.
-rw-r--r--terraform/aws/backend/main.tf3
1 files changed, 2 insertions, 1 deletions
diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf
index 45d660f..ef85143 100644
--- a/terraform/aws/backend/main.tf
+++ b/terraform/aws/backend/main.tf
@@ -311,7 +311,8 @@ EOF
if [ ! -d "/var/guix/profiles/per-user/ubuntu" ]; then
cp -r /var/guix/profiles/per-user/root/guix-profile-1-link /var/guix/profiles/per-user/ubuntu/
ln -s /var/guix/profiles/per-user/ubuntu/guix-profile-1-link /var/guix/profiles/per-user/ubuntu/guix-profile
- /var/guix/profiles/per-user/ubuntu/guix-profile/bin/guix package -i guile bash
+ # Install openssl and nss-certs so that downloads work for custom pagckage versions
+ /var/guix/profiles/per-user/ubuntu/guix-profile/bin/guix package -i guile bash openssl nss-certs
fi
ln -s /var/guix/profiles/per-user/ubuntu/guix-profile ~/.guix-profile
EOF