From 955f87c0c4988d805d63b8eb7a7dab087b1ce8ec Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Fri, 14 Jan 2022 12:50:49 -0500 Subject: [PATCH] BASH_ENV only works if the shell is bash The Nix images have /bin/sh instead so it probably doesn't work --- .circleci/config.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e4ea72..f12e8e2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,15 +24,10 @@ jobs: resource_class: "xlarge" - steps: - - run: - name: "Setup Environment Variables" - command: | - # Set XDG_CONFIG_DIRS to point at the source directory, so that nix - # will pickup nix/nix.conf as a configuration file from there. - echo "Shell: $0" - echo "export XDG_CONFIG_DIRS=$CIRCLE_WORKING_DIRECTORY" >> $BASH_ENV + environment: + XDG_CONFIG_DIRS: "/root/project" + steps: # Get *our* source code. - "checkout" - restore_cache: -- GitLab