aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-08-01 19:31:07 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-08-01 19:52:45 +0900
commit1198e0b250f0300445f825bb4b4e8ca9fa599968 (patch)
tree9ef8887e1545037a0e560a163cd6287edba126da
parent1ec696ba01d48e3caa4e194e6c0d8e25ccb8a877 (diff)
Add GUIX_LOCPATH environment variable.
-rw-r--r--env1
-rwxr-xr-xjobs/deploy-test-tojo-tokyo.run2
2 files changed, 2 insertions, 1 deletions
diff --git a/env b/env
index d45f32d..58af914 100644
--- a/env
+++ b/env
@@ -1,3 +1,4 @@
SSL_CERT_DIR=/run/current-system/profile/etc/ssl/certs
SSL_CERT_FILE=/run/current-system/profile/etc/ssl/certs/ca-certificates.crt
GIT_SSL_CAINFO=/run/current-system/profile/etc/ssl/certs/ca-certificates.crt
+GUIX_LOCPATH=/run/current-system/locale
diff --git a/jobs/deploy-test-tojo-tokyo.run b/jobs/deploy-test-tojo-tokyo.run
index 02684f1..a2d7982 100755
--- a/jobs/deploy-test-tojo-tokyo.run
+++ b/jobs/deploy-test-tojo-tokyo.run
@@ -3,4 +3,4 @@ set -euo pipefail
git clone https://git.tojo.tokyo/www-tojo-tokyo.git .
git checkout "develop"
-guix environment --preserve="GUIX_LOCPATH" --expose="$LAMINAR_HOME/.ssh" --container --pure --network -l guix.scm -- make deploy-test
+guix environment --preserve="^GUIX_LOCPATH$" --expose="$GUIX_LOCPATH" --expose="$LAMINAR_HOME/.ssh" --container --network --pure -l guix.scm -- make deploy-test